diff --git a/NadekoBot/Classes/NadekoStats.cs b/NadekoBot/Classes/NadekoStats.cs index eba50933..57d730d4 100644 --- a/NadekoBot/Classes/NadekoStats.cs +++ b/NadekoBot/Classes/NadekoStats.cs @@ -7,6 +7,9 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; +#if NADEKO_RELEASE +using System.IO; +#endif using System.Linq; using System.Net.Http; using System.Reflection; @@ -247,7 +250,7 @@ namespace NadekoBot Console.WriteLine($">>COMMAND ENDED after *{(DateTime.UtcNow - dt).TotalSeconds}s*\nCmd: {e.Command.Text}\nMsg: {e.Message.Text}\nUsr: {e.User.Name} [{e.User.Id}]\nSrvr: {e.Server?.Name ?? "PRIVATE"} [{e.Server?.Id}]\n-----"); } } - catch { } + catch { } #endif } diff --git a/discord.net b/discord.net index 43791176..f90cf4ae 160000 --- a/discord.net +++ b/discord.net @@ -1 +1 @@ -Subproject commit 43791176c66a6e4c87a9676cf3ca60143647db8b +Subproject commit f90cf4ae5c9fd3c049663f46dcbf366412caba8b