summaryrefslogtreecommitdiff
path: root/packages/gateway/src/commands/commandHandler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gateway/src/commands/commandHandler.ts')
-rw-r--r--packages/gateway/src/commands/commandHandler.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/gateway/src/commands/commandHandler.ts b/packages/gateway/src/commands/commandHandler.ts
index 5b99c16..63ff6ed 100644
--- a/packages/gateway/src/commands/commandHandler.ts
+++ b/packages/gateway/src/commands/commandHandler.ts
@@ -8,6 +8,8 @@ import { handleDeleteCommand } from "./delete";
import { handlePinCommand } from "./pin";
import { handleRoleCommand } from "./role";
import { handleVerbalGatesCommand } from "./verbalGates";
+import { handleWebhookCommand } from "./webhook";
+import { handleDeleteWebhookCommand } from "./deleteWebhook";
export const handleCommandHandler = (client: Client) => {
client.on(Events.MessageCreate, async (message: Message) => {
@@ -27,6 +29,8 @@ export const handleCommandHandler = (client: Client) => {
handleDeleteCommand(message),
handlePinCommand(message),
handleRoleCommand(message),
+ handleWebhookCommand(message),
+ handleDeleteWebhookCommand(message),
]);
});
};