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/moulberry-bush/rule.ts | |
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/moulberry-bush/rule.ts')
-rw-r--r-- | src/commands/moulberry-bush/rule.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/commands/moulberry-bush/rule.ts b/src/commands/moulberry-bush/rule.ts index 674b776..16cda5e 100644 --- a/src/commands/moulberry-bush/rule.ts +++ b/src/commands/moulberry-bush/rule.ts @@ -1,5 +1,4 @@ import { Argument } from 'discord-akairo'; -import { ApplicationCommandOptionType } from 'discord-api-types'; import { CommandInteraction, Message, MessageEmbed, User } from 'discord.js'; import { SlashCommandOption } from '../../lib/extensions/BushClientUtil'; import { BushCommand } from '../../lib/extensions/BushCommand'; @@ -98,20 +97,21 @@ export default class RuleCommand extends BushCommand { ], clientPermissions: ['EMBED_LINKS', 'SEND_MESSAGES'], channel: 'guild', - slashCommandOptions: [ + slashOptions: [ { - type: ApplicationCommandOptionType.INTEGER, + type: 'INTEGER', name: 'rule', description: 'The rule to show', required: false }, { - type: ApplicationCommandOptionType.USER, + type: 'USER', name: 'user', description: 'The user to ping', required: false } - ] + ], + slash: true }); } private getResponse( |