diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-28 09:27:41 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-28 09:27:41 -0500 |
commit | 453683b57b8ff013ff25e2aaa4aa1d2e047edcb7 (patch) | |
tree | 8b98d2f30dbb6a8448602446cfacf9091667cc33 /src/commands/info/pronouns.ts | |
parent | de4c3dcaf172804d34ae708be1ed3e75af42f4d5 (diff) | |
download | tanzanite-453683b57b8ff013ff25e2aaa4aa1d2e047edcb7.tar.gz tanzanite-453683b57b8ff013ff25e2aaa4aa1d2e047edcb7.tar.bz2 tanzanite-453683b57b8ff013ff25e2aaa4aa1d2e047edcb7.zip |
a few small changes
Diffstat (limited to 'src/commands/info/pronouns.ts')
-rw-r--r-- | src/commands/info/pronouns.ts | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/src/commands/info/pronouns.ts b/src/commands/info/pronouns.ts index 3cf27b6..29cd2ce 100644 --- a/src/commands/info/pronouns.ts +++ b/src/commands/info/pronouns.ts @@ -6,32 +6,22 @@ export default class PronounsCommand extends BushCommand { super('pronouns', { aliases: ['pronouns', 'pronoun'], category: 'info', - description: { - content: 'Finds the pronouns of a user using https://pronoundb.org.', - usage: ['pronouns <user>'], - examples: ['pronouns IRONM00N'] - }, + description: 'Finds the pronouns of a user using https://pronoundb.org.', + usage: ['pronouns <user>'], + examples: ['pronouns IRONM00N'], args: [ { id: 'user', + description: 'The user to get pronouns for.', type: 'globalUser', - prompt: { - start: 'Who would you like to view the pronouns of?', - retry: '{error} Choose a valid user to view the pronouns of.', - optional: true - } + prompt: 'Who would you like to view the pronouns of?', + retry: '{error} Choose a valid user to view the pronouns of.', + optional: true, + slashType: 'USER' } ], clientPermissions: (m) => util.clientSendAndPermCheck(m, ['EMBED_LINKS'], true), userPermissions: [], - slashOptions: [ - { - name: 'user', - description: 'The user to get pronouns for', - type: 'USER', - required: false - } - ], slash: true }); } |