diff options
| author | Byambadalai Sumiya <[email protected]> | 2020-12-22 15:05:41 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-22 02:05:41 -0500 |
| commit | 35db712c16da4a447eb95797606b498e44204597 (patch) | |
| tree | 03660b4152bdb5c5727e91aa652b9013828fa6c0 | |
| parent | Apply settings before DOM loaded. (diff) | |
| download | discord.py-35db712c16da4a447eb95797606b498e44204597.tar.xz discord.py-35db712c16da4a447eb95797606b498e44204597.zip | |
Fix reaction_roles example logic
| -rw-r--r-- | examples/reaction_roles.py | 2 |
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: |