Skip to content

Commit 0058fca

Browse files
authored
Update guild not found error message
1 parent 7e95ab9 commit 0058fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ async def on_ready(self):
523523
await self.wait_for_connected()
524524

525525
if self.guild is None:
526-
logger.error("Logging out due to invalid GUILD_ID.")
526+
logger.critical(f"Unable to find main guild, no guilds found matching ID '{self.guild_id}', is your GUILD_ID set correctly?")
527527
return await self.close()
528528

529529
if self._started:

0 commit comments

Comments
 (0)