Skip to content

Commit

Permalink
fix: inverted condition for blocking the resumed session log
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalk0 committed Jan 9, 2024
1 parent b544920 commit 838c830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self):

# Ignore RESUMED session messages
logging.getLogger("discord.gateway").addFilter(
lambda record: "successfully RESUMED session" in record.msg
lambda record: "successfully RESUMED session" not in record.msg
)

# Set intents for the bot
Expand Down

0 comments on commit 838c830

Please sign in to comment.