diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-10 10:27:35 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-10 10:27:35 -0400 |
commit | 5a0046146fb2a697aead63d2af492db9f0ef9113 (patch) | |
tree | 981bf0808e465d5d692482d18437c80715ae3563 /src/commands/dev | |
parent | f1973996dc5f1790df3f72af75732a0d250a14e2 (diff) | |
download | tanzanite-5a0046146fb2a697aead63d2af492db9f0ef9113.tar.gz tanzanite-5a0046146fb2a697aead63d2af492db9f0ef9113.tar.bz2 tanzanite-5a0046146fb2a697aead63d2af492db9f0ef9113.zip |
update discord js and discord-akairo
fix breaking changes
add unverified bot emoji to user command
Diffstat (limited to 'src/commands/dev')
-rw-r--r-- | src/commands/dev/eval.ts | 3 | ||||
-rw-r--r-- | src/commands/dev/say.ts | 12 | ||||
-rw-r--r-- | src/commands/dev/sh.ts | 13 |
3 files changed, 5 insertions, 23 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index a317e00..04db2eb 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -4,7 +4,6 @@ import { assertAll, BushCommand, BushInspectOptions, - clientSendAndPermCheck, CodeBlockLang, colors, emojis, @@ -175,7 +174,7 @@ export default class EvalCommand extends BushCommand { ], slash: true, ownerOnly: true, - clientPermissions: (m) => clientSendAndPermCheck(m), + clientPermissions: [], userPermissions: [] }); } diff --git a/src/commands/dev/say.ts b/src/commands/dev/say.ts index 2246588..c7b3c40 100644 --- a/src/commands/dev/say.ts +++ b/src/commands/dev/say.ts @@ -1,12 +1,4 @@ -import { - AllowedMentions, - BushCommand, - clientSendAndPermCheck, - emojis, - type ArgType, - type CommandMessage, - type SlashMessage -} from '#lib'; +import { AllowedMentions, BushCommand, emojis, type ArgType, type CommandMessage, type SlashMessage } from '#lib'; import { ApplicationCommandOptionType } from 'discord.js'; export default class SayCommand extends BushCommand { @@ -29,7 +21,7 @@ export default class SayCommand extends BushCommand { } ], ownerOnly: true, - clientPermissions: (m) => clientSendAndPermCheck(m), + clientPermissions: [], userPermissions: [], slash: true }); diff --git a/src/commands/dev/sh.ts b/src/commands/dev/sh.ts index 609129d..56a3b69 100644 --- a/src/commands/dev/sh.ts +++ b/src/commands/dev/sh.ts @@ -1,13 +1,4 @@ -import { - ArgType, - BushCommand, - clientSendAndPermCheck, - colors, - emojis, - formatError, - type CommandMessage, - type SlashMessage -} from '#lib'; +import { ArgType, BushCommand, colors, emojis, formatError, type CommandMessage, type SlashMessage } from '#lib'; import assert from 'assert/strict'; import chalk from 'chalk'; import { exec } from 'child_process'; @@ -44,7 +35,7 @@ export default class ShCommand extends BushCommand { } ], ownerOnly: true, - clientPermissions: (m) => clientSendAndPermCheck(m), + clientPermissions: [], userPermissions: [] }); } |