Skip to content

Commit 4827b15

Browse files
committed
🌟 feat: Add cacheMessages and repelCommand to commands map
1 parent 526a2fb commit 4827b15

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/commands/index.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import { docsCommands } from './docs/index.js';
22
import { guidesCommand } from './guides/index.js';
3+
import cacheMessages from './moderation/cache-messages.js';
4+
import { repelCommand } from './moderation/repel.js';
35
import { pingCommand } from './ping.js';
46
import { tipsCommands } from './tips/index.js';
57
import type { Command } from './types.js';
68

79
export const commands = new Map<string, Command>(
8-
[pingCommand, guidesCommand, docsCommands, tipsCommands].flat().map((cmd) => [cmd.data.name, cmd])
10+
[pingCommand, guidesCommand, docsCommands, tipsCommands, repelCommand, cacheMessages]
11+
.flat()
12+
.map((cmd) => [cmd.data.name, cmd])
913
);

0 commit comments

Comments
 (0)