diff --git a/src/channels/discord.ts b/src/channels/discord.ts index 836f354..1a0e6ff 100644 --- a/src/channels/discord.ts +++ b/src/channels/discord.ts @@ -132,7 +132,7 @@ Ask the bot owner to approve with: partials: [Partials.Channel, Partials.Message, Partials.Reaction, Partials.User], }); - this.client.on('ready', () => { + this.client.once('clientReady', () => { const tag = this.client?.user?.tag || '(unknown)'; console.log(`[Discord] Bot logged in as ${tag}`); console.log(`[Discord] DM policy: ${this.config.dmPolicy}`);