serenity-rs / serenity

A Rust library for the Discord API.
https://discord.gg/serenity-rs
ISC License
4.78k stars 583 forks source link

Reaction Event Handlers Not Dispatching #2923

Closed zRyder closed 2 months ago

zRyder commented 3 months ago

When trying to implement adding/removing reactions. The handler implementations are not dispatched. Tested with ReactionAdd and ReactionRemove. When debugging, I had a non admin user add a reaction to a message, when I debugged, the bot with admin permissions did not run the code.

jamesbt365 commented 3 months ago

Show your intents.

zRyder commented 3 months ago

Could you remind me what that is again?

jamesbt365 commented 3 months ago

They are the toggles that indicate to Discord what events to send you. You set these when you are creating the serenity client.

zRyder commented 3 months ago

I see, I’ll provide them in a bit

jamesbt365 commented 2 months ago

This is either a duplicate of #2930 #2922, #2910, #2909, #2892 or user error.