rsudo: check which message an admin reacted to

This commit is contained in:
FrostLuma 2017-12-02 21:36:48 +01:00
parent 4e61a65b3f
commit b31ba91950

View file

@ -58,6 +58,9 @@ class Rsudo(Cog):
if _user is None:
return False
if _reaction.message.id != msg.id:
return
if reaction.emoji not in emoji.keys():
return False