rsudo: fix nameerror
This commit is contained in:
parent
b31ba91950
commit
9834820efe
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class Rsudo(Cog):
|
|||
if _reaction.message.id != msg.id:
|
||||
return
|
||||
|
||||
if reaction.emoji not in emoji.keys():
|
||||
if _reaction.emoji not in emoji.keys():
|
||||
return False
|
||||
|
||||
return discord.utils.get(_user.roles, id=self.bot.config.admin_role) is not None
|
||||
|
|
Loading…
Reference in a new issue