Skip to content

Commit

Permalink
Make ready event log debug and add startup log
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa committed Sep 1, 2024
1 parent 3c928e4 commit edbe98e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Events/ReadyEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static async Task OnReady(DiscordClient client, SessionCreatedEventArgs _
}
}

client.Logger.LogInformation(CliptokEventID, "Logged in as {user}", $"{DiscordHelpers.UniqueUsername(client.CurrentUser)}");
client.Logger.LogDebug(CliptokEventID, "Ready event: logged in as {user}", $"{DiscordHelpers.UniqueUsername(client.CurrentUser)}");
}

public static async Task OnStartup(DiscordClient client)
Expand Down Expand Up @@ -170,6 +170,7 @@ public static async Task OnStartup(DiscordClient client)
return;
}

client.Logger.LogInformation(CliptokEventID, "Startup event complete, logged in as {user}", $"{DiscordHelpers.UniqueUsername(client.CurrentUser)}");
}

}
Expand Down

0 comments on commit edbe98e

Please sign in to comment.