Closed Krishna-Singhal closed 2 years ago
did you test this?
m.reactions
always null for me
i tested, it's None when message doesn't contains reactions other return List of reactions
Let's say,
a sudo user sends the !ping
command > triggers (m.reactions
is None
)
then he reacts to that message > doesn't trigger (m.reactions
not None
)
removes the reaction > triggers (m.reactions
is None
)
so how do handle the last case? shouldn't trigger r8?
Let's say,
a sudo user sends the
!ping
command > triggers (m.reactions
isNone
) then he reacts to that message > doesn't trigger (m.reactions
notNone
) removes the reaction > triggers (m.reactions
isNone
)so how do handle the last case? shouldn't trigger r8?
Edited update is received only once. Example: When the user sends command for first time, reactions are none, if once reacted it contains the reactions (only this time edited handler triggers) later if he removes the reactions again reactions are none but it won't trigger the command since no edited update will be received.
closing because of conflicts and no valid solution yet to handle that
did you test this?
m.reactions
always null for me