mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-21 18:15:28 -04:00
message.remove_reaction does not remove reactions #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MysticMia on GitHub (Jun 18, 2023).
Describe the bug
Using message.remove_reaction(...) does not remove the reaction as expected.
To Reproduce
await ctx.message.remove_reaction(emoji_id, user)No code output.
Expected behavior
Expected it to remove the reaction of the given user (me, in this case). It instead didn't remove any reaction, not even the bot's own one.
Library version
0.1.11
Potential fix
I noticed a couple issues in the message.state.http.remove_reaction function.
user_idandremove_allparametersparamsarguments, while it could put the user_id and remove_all parameters in here.I managed to find a workaround / fix for this issue by calling my own request: