diff --git a/src/bot/index.ts b/src/bot/index.ts index f48705c..1e10623 100644 --- a/src/bot/index.ts +++ b/src/bot/index.ts @@ -53,16 +53,16 @@ export class Bot implements Runnable { }); this._client.on('ready', async () => { - // Set status to listening command + if (!this._client.user || !this._client.application) { + return; + } + + // Set status for show command this._client.user?.setActivity({ name: '/chat', type: ActivityType.Listening, }); - if (!this._client.user || !this._client.application) { - return; - } - await this._client.application.commands.set(commands); });