Skip to content

Commit

Permalink
loglevel.debug only on debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-karev committed Oct 16, 2020
1 parent 6d6a9ec commit a5ef642
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Bot_NetCore/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ public async Task RunBotAsync()
var cfg = new DiscordConfiguration
{
Token = BotSettings.Token,
#if DEBUG
LogLevel = LogLevel.Debug,
#endif
AutoReconnect = true,
TokenType = TokenType.Bot,
UseInternalLogHandler = true
Expand Down

0 comments on commit a5ef642

Please sign in to comment.