mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-22 03:05:16 +00:00
Remove the "Console log:" from discord logs
This commit is contained in:
parent
5d78814620
commit
60249feef8
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class DiscordBot {
|
|||
try {
|
||||
if (DiscordClient != null && LogChannel != null) {
|
||||
await DiscordClient.SendMessageAsync(LogChannel,
|
||||
$"Console log:```{Logger.PrefixNewLines(text, $"{level} [{source}]")}```");
|
||||
$"```{Logger.PrefixNewLines(text, $"{level} [{source}]")}```");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// don't log again, it'll just stack overflow the server!
|
||||
|
|
Loading…
Reference in a new issue