aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-06 11:06:08 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-06 11:06:08 -0400
commitad7eee01ae96ddc6a483c72d09261ca5e43908de (patch)
treeb9baaa011999edffd68af3268276a1b89db22f9d /src/commands/dev
parent0b955b561fe8073fb1f69f6b60e9f217fa51ff20 (diff)
downloadtanzanite-ad7eee01ae96ddc6a483c72d09261ca5e43908de.tar.gz
tanzanite-ad7eee01ae96ddc6a483c72d09261ca5e43908de.tar.bz2
tanzanite-ad7eee01ae96ddc6a483c72d09261ca5e43908de.zip
upgrade to discord.js v13 release (plus fix last minute breaking chanages)
Diffstat (limited to 'src/commands/dev')
-rw-r--r--src/commands/dev/eval.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts
index 1475173..19667dd 100644
--- a/src/commands/dev/eval.ts
+++ b/src/commands/dev/eval.ts
@@ -59,7 +59,7 @@ export default class EvalCommand extends BushCommand {
if (!message.author.isOwner())
return await message.util.reply(`${util.emojis.error} Only my developers can run this command.`);
if (message.util.isSlash) {
- await (message as BushSlashMessage).interaction.defer({ ephemeral: args.silent });
+ await (message as BushSlashMessage).interaction.deferReply({ ephemeral: args.silent });
}
args.code = args.code.replace(/[“”]/g, '"').replace(/```*(?:js|ts)?/g, '');