diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-30 19:12:48 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-30 19:12:48 -0400 |
commit | aa4cb7e51823f7a2c884c17a8d1010217cce301b (patch) | |
tree | bffc7261296f4ee6d164efd18713c0ec5b1dd104 /src/commands/moderation | |
parent | 0ecad260c69fffa751fb5d245e0e4f804191970b (diff) | |
download | tanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.tar.gz tanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.tar.bz2 tanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.zip |
convert multiword commands to use '-' as a word separator
Diffstat (limited to 'src/commands/moderation')
-rw-r--r-- | src/commands/moderation/ban.ts | 2 | ||||
-rw-r--r-- | src/commands/moderation/hideCase.ts | 2 | ||||
-rw-r--r-- | src/commands/moderation/removeReactionEmoji.ts | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/commands/moderation/ban.ts b/src/commands/moderation/ban.ts index 88ad8e4..b64330f 100644 --- a/src/commands/moderation/ban.ts +++ b/src/commands/moderation/ban.ts @@ -4,7 +4,7 @@ import { Snowflake, User } from 'discord.js'; export default class BanCommand extends BushCommand { public constructor() { super('ban', { - aliases: ['ban', 'forceban', 'dban'], + aliases: ['ban', 'force-ban', 'dban'], category: 'moderation', description: { content: 'Ban a member from the server.', diff --git a/src/commands/moderation/hideCase.ts b/src/commands/moderation/hideCase.ts index cf7b4de..2ed788a 100644 --- a/src/commands/moderation/hideCase.ts +++ b/src/commands/moderation/hideCase.ts @@ -3,7 +3,7 @@ import { BushCommand, BushMessage, BushSlashMessage, ModLog } from '@lib'; export default class HideCaseCommand extends BushCommand { public constructor() { super('hideCase', { - aliases: ['hidecase', 'hide_case', 'showcase', 'show_case', 'coverupmodabuse', 'cover_up_mod_abuse'], + aliases: ['hide-case', 'hide_case', 'showcase', 'show_case', 'cover-up-mod-abuse', 'cover_up_mod_abuse'], category: 'moderation', description: { content: 'Hide a particular modlog case from the modlog command unless the `--hidden` flag is specified', diff --git a/src/commands/moderation/removeReactionEmoji.ts b/src/commands/moderation/removeReactionEmoji.ts index d4c0cb6..dc05883 100644 --- a/src/commands/moderation/removeReactionEmoji.ts +++ b/src/commands/moderation/removeReactionEmoji.ts @@ -4,12 +4,12 @@ import { Emoji, Snowflake } from 'discord.js'; export default class RemoveReactionEmojiCommand extends BushCommand { public constructor() { super('removeReactionEmoji', { - aliases: ['removereactionemoji', 'rre'], + aliases: ['remove-reaction-emoji', 'rre'], category: 'moderation', description: { content: 'Deleted all the reactions of a certain emoji from a message.', - usage: 'removereactionemoji <message> <emoji>', - examples: ['removereactionemoji 791413052347252786 <:omegaclown:782630946435366942>'] + usage: 'remove-reaction-emoji <message> <emoji>', + examples: ['remove-reaction-emoji 791413052347252786 <:omegaclown:782630946435366942>'] }, clientPermissions: ['MANAGE_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS'], userPermissions: ['MANAGE_MESSAGES', 'MANAGE_EMOJIS_AND_STICKERS'], // Can't undo the removal of 1000s of reactions |