Potential bug
#6981
-
@bot.event
async def on_raw_reaction_add(payload):
if payload.member.id != 1234: # working
print('foo')
@bot.event
async def on_raw_reaction_remove(payload):
if payload.member.id != 1234: # not working
print('bar') With this code, if you remove a reaction, you raise on error : We found a fix, by using : But the first code should be working from my understanding of the doc. |
Beta Was this translation helpful? Give feedback.
Answered by
Rapptz
May 28, 2021
Replies: 1 comment 1 reply
-
This is also a Discord limitation. They don't provide member information for reaction remove events for some reason. They claim performance reasons. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is documented.
This is also a Discord limitation. They don't provide member information for reaction remove events for some reason. They claim performance reasons.