mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 13:54:36 +00:00
Add missing filter, fix verbose logging not appearing
This commit is contained in:
parent
fc9d611ba6
commit
2da4f3e0e3
1 changed files with 2 additions and 1 deletions
|
@ -101,12 +101,13 @@ namespace BirthdayBot
|
|||
case "Connected":
|
||||
case "Ready":
|
||||
case "Failed to resume previous session":
|
||||
case "Resumed previous session":
|
||||
case "Disconnecting":
|
||||
case "Disconnected":
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
if (arg.Severity <= LogSeverity.Info) Log("Discord.Net", $"{arg.Severity}: {arg.Message}");
|
||||
Log("Discord.Net", $"{arg.Severity}: {arg.Message}");
|
||||
if (arg.Exception != null) Log("Discord.Net", arg.Exception.ToString());
|
||||
|
||||
return Task.CompletedTask;
|
||||
|
|
Loading…
Reference in a new issue