From 95bd8752e040b4aace4f357ccc920fb37537907f Mon Sep 17 00:00:00 2001 From: Peam Date: Tue, 26 Dec 2023 12:47:01 +0700 Subject: [PATCH] feat: reregister-command --- packages/what-is-dis/src/bot/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/what-is-dis/src/bot/index.ts b/packages/what-is-dis/src/bot/index.ts index fe127a5..849e25f 100644 --- a/packages/what-is-dis/src/bot/index.ts +++ b/packages/what-is-dis/src/bot/index.ts @@ -178,6 +178,10 @@ export class DiscordBot { return this.client } + reregisterSlashCommands() { + return this.registerSlashCommands() + } + async listen() { this.setupGracefulShutdown() this.subscribeGatewayDispatchEvents()