Remove the "Console log:" from discord logs

This commit is contained in:
Sanae 2022-06-20 12:53:30 -06:00
parent 5d78814620
commit 60249feef8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class DiscordBot {
try { try {
if (DiscordClient != null && LogChannel != null) { if (DiscordClient != null && LogChannel != null) {
await DiscordClient.SendMessageAsync(LogChannel, await DiscordClient.SendMessageAsync(LogChannel,
$"Console log:```{Logger.PrefixNewLines(text, $"{level} [{source}]")}```"); $"```{Logger.PrefixNewLines(text, $"{level} [{source}]")}```");
} }
} catch (Exception e) { } catch (Exception e) {
// don't log again, it'll just stack overflow the server! // don't log again, it'll just stack overflow the server!