Listen MessageReactionAdd #1168
Answered
by
FedorLap2006
sercanarga
asked this question in
Q&A
-
We can add a reaction to the message with Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
FedorLap2006
Apr 24, 2022
Replies: 1 comment 1 reply
-
To listen for a particular event you would need to register an event handler in the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sercanarga
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To listen for a particular event you would need to register an event handler in the
Session
usingSession.AddHandler
method.MessageReactionAdd
handler in particular has the following signature:func (*Session, *MessageReactionAdd)
.Additionally, since these events received through the gateway, you would need to
Open
aSession
, if you still haven't done it yet.