summaryrefslogtreecommitdiff
path: root/packages/gateway/src/commands/index.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-28 00:03:12 -0700
committerFuwn <[email protected]>2025-09-28 00:03:12 -0700
commit999ba817c68e3dd2b578b27f5f0f527d04be87c7 (patch)
treed84ebf1830fb7b35c04129995512ebda4aed4e74 /packages/gateway/src/commands/index.ts
parentfeat(listeners:roleMentionCooldown): Remove expected behaviour logs (diff)
downloadumabotdiscord-999ba817c68e3dd2b578b27f5f0f527d04be87c7.tar.xz
umabotdiscord-999ba817c68e3dd2b578b27f5f0f527d04be87c7.zip
refactor(gateway): Consolidate event handlers
Diffstat (limited to 'packages/gateway/src/commands/index.ts')
-rw-r--r--packages/gateway/src/commands/index.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/gateway/src/commands/index.ts b/packages/gateway/src/commands/index.ts
index b3dd2a2..87b37f9 100644
--- a/packages/gateway/src/commands/index.ts
+++ b/packages/gateway/src/commands/index.ts
@@ -1,12 +1,6 @@
import { Client } from "discord.js";
-import { handleSayCommand } from "./say";
-import { handleStartCommand } from "./start";
-import { handleCrpCommand } from "./crp";
-import { handleReactCommand } from "./react";
+import { handleCommandHandler } from "./commandHandler";
export const handleCommands = (client: Client) => {
- handleSayCommand(client);
- handleStartCommand(client);
- handleCrpCommand(client);
- handleReactCommand(client);
+ handleCommandHandler(client);
};