Fix check for eval
This commit is contained in:
parent
11e6021817
commit
6caee5c619
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class DevCog(commands.Cog):
|
|||
return "".join(f"\n\t{i}" for i in arr)
|
||||
|
||||
@commands.command(pass_context=True, aliases=["eval", "exec", "evaluate"])
|
||||
@commands.check(user_is_bot_admin)
|
||||
@user_is_bot_admin()
|
||||
async def _eval(self, ctx, *, code: str):
|
||||
code = self.prepare(code)
|
||||
args = {
|
||||
|
|
Loading…
Add table
Reference in a new issue