diff --git a/utils/DiscordBot.ts b/utils/DiscordBot.ts index 6ddef93079..6e51dc194f 100644 --- a/utils/DiscordBot.ts +++ b/utils/DiscordBot.ts @@ -49,6 +49,8 @@ DiscordBot.on('ready', async () => { DiscordBot.login(process.env.DISCORD_TOKEN ?? '') ServerListDiscordBot.login(process.env.DISCORD_SERVERLIST_TOKEN) +DiscordBot.on('debug', console.info) + export const getMainGuild = () => DiscordBot.guilds.cache.get(process.env.GUILD_ID ?? '') export const discordLog = async (