diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-01 20:45:14 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-01 20:45:14 -0400 |
commit | 6019fd47d066cd9a20666a0f7cceaf1a00b35723 (patch) | |
tree | b8c4c7608c59d0d986d9f7e4c84719244eec2cc3 /src/commands/dev/eval.ts | |
parent | 611ad3ec99a3d1bd4d608e4bdd2bf5e9f4da9a47 (diff) | |
download | tanzanite-6019fd47d066cd9a20666a0f7cceaf1a00b35723.tar.gz tanzanite-6019fd47d066cd9a20666a0f7cceaf1a00b35723.tar.bz2 tanzanite-6019fd47d066cd9a20666a0f7cceaf1a00b35723.zip |
add back owner check for eval
Diffstat (limited to 'src/commands/dev/eval.ts')
-rw-r--r-- | src/commands/dev/eval.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index a7e5de6..4896945 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -135,8 +135,8 @@ export default class EvalCommand extends BushCommand { show_proto: boolean; } ): Promise<unknown> { - // if (!message.author.isOwner()) - // return await message.util.reply(`${this.client.util.emojis.error} Only my developers can run this command.`); + if (!message.author.isOwner()) + return await message.util.reply(`${this.client.util.emojis.error} Only my developers can run this command.`); if (message.util.isSlash) { await (message as BushSlashMessage).interaction.defer({ ephemeral: args.silent }); } |