aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/reaction_roles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/reaction_roles.py b/examples/reaction_roles.py
index 1a668561..b462ed77 100644
--- a/examples/reaction_roles.py
+++ b/examples/reaction_roles.py
@@ -44,7 +44,7 @@ class RoleReactClient(discord.Client):
async def on_raw_reaction_remove(self, payload):
"""Removes a role based on a reaction emoji."""
# Make sure that the message the user is reacting to is the one we care about
- if payload.message_id == self.role_message_id:
+ if payload.message_id != self.role_message_id:
return
try: