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/dev/setLevel.ts | |
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/dev/setLevel.ts')
-rw-r--r-- | src/commands/dev/setLevel.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/commands/dev/setLevel.ts b/src/commands/dev/setLevel.ts index 7e07ce0..6c8131a 100644 --- a/src/commands/dev/setLevel.ts +++ b/src/commands/dev/setLevel.ts @@ -1,4 +1,3 @@ -import { ApplicationCommandOptionType } from 'discord-api-types'; import { User } from 'discord.js'; import { BushCommand } from '../../lib/extensions/BushCommand'; import { BushMessage } from '../../lib/extensions/BushMessage'; @@ -37,13 +36,13 @@ export default class SetLevelCommand extends BushCommand { ownerOnly: true, slashOptions: [ { - type: /* 'USER' */ ApplicationCommandOptionType.USER, + type: /* 'USER' */ 'USER', name: 'user', description: 'The user to change the level of', required: true }, { - type: /* 'INTEGER' */ ApplicationCommandOptionType.INTEGER, + type: /* 'INTEGER' */ 'INTEGER', name: 'level', description: 'The level to set the user to', required: true |