aboutsummaryrefslogtreecommitdiff
path: root/src/commands/leveling/level.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-28 09:27:41 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-28 09:27:41 -0500
commit453683b57b8ff013ff25e2aaa4aa1d2e047edcb7 (patch)
tree8b98d2f30dbb6a8448602446cfacf9091667cc33 /src/commands/leveling/level.ts
parentde4c3dcaf172804d34ae708be1ed3e75af42f4d5 (diff)
downloadtanzanite-453683b57b8ff013ff25e2aaa4aa1d2e047edcb7.tar.gz
tanzanite-453683b57b8ff013ff25e2aaa4aa1d2e047edcb7.tar.bz2
tanzanite-453683b57b8ff013ff25e2aaa4aa1d2e047edcb7.zip
a few small changes
Diffstat (limited to 'src/commands/leveling/level.ts')
-rw-r--r--src/commands/leveling/level.ts26
1 files changed, 8 insertions, 18 deletions
diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts
index 36fb153..61e5d0b 100644
--- a/src/commands/leveling/level.ts
+++ b/src/commands/leveling/level.ts
@@ -20,31 +20,21 @@ export default class LevelCommand extends BushCommand {
super('level', {
aliases: ['level', 'rank', 'lvl'],
category: 'leveling',
- description: {
- content: 'Shows the level of a user',
- usage: ['level [user]'],
- examples: ['level', 'level @Tyman']
- },
+ description: 'Shows the level of a user',
+ usage: ['level [user]'],
+ examples: ['level', 'level @Tyman'],
args: [
{
id: 'user',
+ description: 'The user to get the level of.',
type: 'user',
- prompt: {
- start: 'What user would you like to see the level of?',
- retry: '{error} Choose a valid user to see the level of.',
- optional: true
- }
+ prompt: 'What user would you like to see the level of?',
+ retry: '{error} Choose a valid user to see the level of.',
+ optional: true,
+ slashType: 'USER'
}
],
slash: true,
- slashOptions: [
- {
- name: 'user',
- description: 'The user to get the level of',
- type: 'USER',
- required: false
- }
- ],
channel: 'guild',
clientPermissions: (m) => util.clientSendAndPermCheck(m),
userPermissions: []