Skip to content

Commit de3af74

Browse files
author
almightylks
committed
Removed file logging for now
1 parent 3dde517 commit de3af74

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

SyncordBot/Bot.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ private async static Task MainAsync()
2525
{
2626
//Instantiate Logger
2727
logger = new Logger();
28-
AppDomain.CurrentDomain.ProcessExit += new EventHandler(BotExiting);
2928

3029
//Load Discord Bot Configs
3130
LoadConfigs();
@@ -62,9 +61,6 @@ private static async Task Discord_Ready(DSharpPlus.EventArgs.ReadyEventArgs e)
6261
await Client.UpdateStatusAsync(game, UserStatus.Idle, DateTimeOffset.UtcNow);
6362
}
6463

65-
private static void BotExiting(object sender, EventArgs e)
66-
=> logger.FileLogExceptions();
67-
6864
private static void LoadConfigs()
6965
{
7066
Configs = new Config();

0 commit comments

Comments
 (0)