rsudo: check which message an admin reacted to
This commit is contained in:
parent
4e61a65b3f
commit
b31ba91950
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue