diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-28 18:54:18 -0400 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-28 18:54:18 -0400 |
| commit | 6974a5859658b966954a59411a800223b7542df8 (patch) | |
| tree | 9f1b4eae137d3253e1530bd30b78ab73b985c9ca /src/commands/config | |
| parent | b581073e0deb4f96510d72001513db64f3cc01ab (diff) | |
| download | tanzanite-6974a5859658b966954a59411a800223b7542df8.tar.gz tanzanite-6974a5859658b966954a59411a800223b7542df8.tar.bz2 tanzanite-6974a5859658b966954a59411a800223b7542df8.zip | |
fix breaking changes and bump dependencies
Diffstat (limited to 'src/commands/config')
| -rw-r--r-- | src/commands/config/muteRole.ts | 3 | ||||
| -rw-r--r-- | src/commands/config/prefix.ts | 3 | ||||
| -rw-r--r-- | src/commands/config/welcomeChannel.ts | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/commands/config/muteRole.ts b/src/commands/config/muteRole.ts index a354bcc..2dc34c3 100644 --- a/src/commands/config/muteRole.ts +++ b/src/commands/config/muteRole.ts @@ -1,4 +1,3 @@ -import { ApplicationCommandOptionType } from 'discord-api-types'; import { Role } from 'discord.js'; import { BushCommand } from '../../lib/extensions/BushCommand'; import { BushMessage } from '../../lib/extensions/BushMessage'; @@ -31,7 +30,7 @@ export default class MuteRoleCommand extends BushCommand { slash: true, slashOptions: [ { - type: ApplicationCommandOptionType.ROLE, + type: 'ROLE', name: 'role', description: "What would you like to set the server's mute role to?", required: true diff --git a/src/commands/config/prefix.ts b/src/commands/config/prefix.ts index fc7b3bf..b788d17 100644 --- a/src/commands/config/prefix.ts +++ b/src/commands/config/prefix.ts @@ -1,4 +1,3 @@ -import { ApplicationCommandOptionType } from 'discord-api-types'; import { BushCommand } from '../../lib/extensions/BushCommand'; import { BushMessage } from '../../lib/extensions/BushMessage'; import { BushSlashMessage } from '../../lib/extensions/BushSlashMessage'; @@ -29,7 +28,7 @@ export default class PrefixCommand extends BushCommand { slash: true, slashOptions: [ { - type: ApplicationCommandOptionType.STRING, + type: 'STRING', name: 'prefix', description: 'What would you like the new prefix to be?', required: false diff --git a/src/commands/config/welcomeChannel.ts b/src/commands/config/welcomeChannel.ts index 8cab33c..d531c7d 100644 --- a/src/commands/config/welcomeChannel.ts +++ b/src/commands/config/welcomeChannel.ts @@ -1,4 +1,3 @@ -import { ApplicationCommandOptionType } from 'discord-api-types'; import { Channel } from 'discord.js'; import { BushCommand } from '../../lib/extensions/BushCommand'; import { BushMessage } from '../../lib/extensions/BushMessage'; @@ -30,7 +29,7 @@ export default class WelcomeChannelCommand extends BushCommand { slash: true, slashOptions: [ { - type: ApplicationCommandOptionType.CHANNEL, + type: 'CHANNEL', name: 'channel', description: 'What channel would you like me to send welcome messages in?', required: false |
