mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-25 20:55:18 +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 {
|
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!
|
||||||
|
|
Loading…
Reference in a new issue