aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-01 20:45:14 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-01 20:45:14 -0400
commit6019fd47d066cd9a20666a0f7cceaf1a00b35723 (patch)
treeb8c4c7608c59d0d986d9f7e4c84719244eec2cc3
parent611ad3ec99a3d1bd4d608e4bdd2bf5e9f4da9a47 (diff)
downloadtanzanite-6019fd47d066cd9a20666a0f7cceaf1a00b35723.tar.gz
tanzanite-6019fd47d066cd9a20666a0f7cceaf1a00b35723.tar.bz2
tanzanite-6019fd47d066cd9a20666a0f7cceaf1a00b35723.zip
add back owner check for eval
-rw-r--r--src/commands/dev/eval.ts4
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 });
}