Set Red._color before login rather than in on_ready (#5627)

This commit is contained in:
jack1142
2022-03-21 17:23:09 +01:00
committed by GitHub
parent 0f299ae195
commit aa55b08a0a
2 changed files with 1 additions and 2 deletions

View File

@@ -188,7 +188,6 @@ def init_events(bot, cli_flags):
if rich_outdated_message:
rich_console.print(rich_outdated_message)
bot._color = discord.Colour(await bot._config.color())
bot._red_ready.set()
if outdated_red_message:
await send_to_owners_with_prefix_replaced(bot, outdated_red_message)