diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-19 16:52:09 -0400 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-19 16:52:09 -0400 |
| commit | f2883f221706f86ee045fa94ad8cd3c9b5db5f97 (patch) | |
| tree | cd3613ef478eb5306b474fa3a5871de9c985d81b /src/commands/config | |
| parent | ea64ebfff9aae32deb036643422d3427959dcd24 (diff) | |
| parent | 0c24fcffe34653564aaaf8a3cb124d6a3f6f4a42 (diff) | |
| download | tanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.tar.gz tanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.tar.bz2 tanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.zip | |
resolved conflicts and stuff
Diffstat (limited to 'src/commands/config')
| -rw-r--r-- | src/commands/config/prefix.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/config/prefix.ts b/src/commands/config/prefix.ts index c20cfa5..9ddf81b 100644 --- a/src/commands/config/prefix.ts +++ b/src/commands/config/prefix.ts @@ -1,4 +1,3 @@ -import { ApplicationCommandOptionType } from 'discord-api-types'; import { Guild as DiscordGuild, Message } from 'discord.js'; import { SlashCommandOption } from '../../lib/extensions/BushClientUtil'; import { BushCommand } from '../../lib/extensions/BushCommand'; @@ -21,14 +20,15 @@ export default class PrefixCommand extends BushCommand { usage: 'prefix [prefix]', examples: ['prefix', 'prefix +'] }, - slashCommandOptions: [ + slashOptions: [ { - type: ApplicationCommandOptionType.STRING, + type: 'STRING', name: 'prefix', description: 'The prefix to set for this server', required: false } - ] + ], + slash: true }); } |
