Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/deploy-commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require('fs');
const path = require('path');

const commands = [];
const commandsPath = path.join(__dirname, 'commands');
const commandsPath = path.join(__dirname, 'slashcommands');
const commandFiles = fs.readdirSync(commandsPath).filter(f => f.endsWith('.js'));
Comment on lines +7 to 8
Copy link

Copilot AI Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR metadata says “Fixes #1”, but Issue #1 is about adding a !time prefix command; this change instead addresses bounty board Issue #21 (Critical #1: deploy-commands.js references non-existent directory). Please update the PR title/description to reference the correct issue (or remove the auto-close keyword) so the wrong issue isn’t closed.

Copilot uses AI. Check for mistakes.

for (const file of commandFiles) {
Expand Down
Loading