Fix reaction_roles example logic
This commit is contained in:
parent
e2d4c6d2b1
commit
35db712c16
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user