Skip to content

Commit

Permalink
Removed file logging for now
Browse files Browse the repository at this point in the history
  • Loading branch information
almightylks committed Dec 2, 2020
1 parent 3dde517 commit de3af74
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions SyncordBot/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ private async static Task MainAsync()
{
//Instantiate Logger
logger = new Logger();
AppDomain.CurrentDomain.ProcessExit += new EventHandler(BotExiting);

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

private static void BotExiting(object sender, EventArgs e)
=> logger.FileLogExceptions();

private static void LoadConfigs()
{
Configs = new Config();
Expand Down

0 comments on commit de3af74

Please sign in to comment.