aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush/rule.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-28 18:54:18 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-28 18:54:18 -0400
commit6974a5859658b966954a59411a800223b7542df8 (patch)
tree9f1b4eae137d3253e1530bd30b78ab73b985c9ca /src/commands/moulberry-bush/rule.ts
parentb581073e0deb4f96510d72001513db64f3cc01ab (diff)
downloadtanzanite-6974a5859658b966954a59411a800223b7542df8.tar.gz
tanzanite-6974a5859658b966954a59411a800223b7542df8.tar.bz2
tanzanite-6974a5859658b966954a59411a800223b7542df8.zip
fix breaking changes and bump dependencies
Diffstat (limited to 'src/commands/moulberry-bush/rule.ts')
-rw-r--r--src/commands/moulberry-bush/rule.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/commands/moulberry-bush/rule.ts b/src/commands/moulberry-bush/rule.ts
index 8aec247..3cd9ec6 100644
--- a/src/commands/moulberry-bush/rule.ts
+++ b/src/commands/moulberry-bush/rule.ts
@@ -1,5 +1,4 @@
import { Argument, Constants } from 'discord-akairo';
-import { ApplicationCommandOptionType } from 'discord-api-types';
import { MessageEmbed, User } from 'discord.js';
import { BushCommand } from '../../lib/extensions/BushCommand';
import { BushMessage } from '../../lib/extensions/BushMessage';
@@ -95,13 +94,13 @@ export default class RuleCommand extends BushCommand {
{
name: 'rule',
description: 'The rule you would you like to have cited',
- type: ApplicationCommandOptionType.INTEGER,
+ type: 'INTEGER',
required: false
},
{
name: 'user',
description: 'The user you would like to mention.',
- type: ApplicationCommandOptionType.USER,
+ type: 'USER',
required: false
}
],