Skip to content

Commit

Permalink
test: add debug log for djs
Browse files Browse the repository at this point in the history
  • Loading branch information
skinmaker1345 committed Mar 5, 2024
1 parent 8f4b431 commit edc7c94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/DiscordBot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit edc7c94

Please sign in to comment.