diff options
| author | Fuwn <[email protected]> | 2025-10-16 00:02:40 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-10-16 00:02:40 -0700 |
| commit | 357657bfe89e098a6c614a53e576c0414f82d6d1 (patch) | |
| tree | e659478455be0ebb4a9003dd480f9ca3d39d4cd3 /packages/gateway/src/commands/commandHandler.ts | |
| parent | feat(gateway:messageCreate): Refine welcome constants (diff) | |
| download | umabotdiscord-357657bfe89e098a6c614a53e576c0414f82d6d1.tar.xz umabotdiscord-357657bfe89e098a6c614a53e576c0414f82d6d1.zip | |
feat(gateway:commands): Add sayc command
Diffstat (limited to 'packages/gateway/src/commands/commandHandler.ts')
| -rw-r--r-- | packages/gateway/src/commands/commandHandler.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/gateway/src/commands/commandHandler.ts b/packages/gateway/src/commands/commandHandler.ts index b1247c1..5b99c16 100644 --- a/packages/gateway/src/commands/commandHandler.ts +++ b/packages/gateway/src/commands/commandHandler.ts @@ -1,5 +1,6 @@ import { Client, Events, Message } from "discord.js"; import { handleSayCommand } from "./say"; +import { handleSaycCommand } from "./sayc"; import { handleStartCommand } from "./start"; import { handleCrpCommand } from "./crp"; import { handleReactCommand } from "./react"; @@ -13,8 +14,10 @@ export const handleCommandHandler = (client: Client) => { if (message.author.bot) return; const verbalGatesHandled = await handleVerbalGatesCommand(message); + const saycHandled = await handleSaycCommand(message); (message as any).verbalGatesHandled = verbalGatesHandled; + (message as any).saycHandled = saycHandled; await Promise.allSettled([ handleSayCommand(message), |