aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-05-24 20:59:37 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-05-24 20:59:37 -0400
commita8d2c867ca35ea23d63123136e88730065ec9568 (patch)
tree9ec59b779da0ffe0f2ea7c6e654aedc81f8b2c3a /src/commands/moderation
parent9f5d9da2a37ecfec412b149ec7dc385ab7b6a98c (diff)
downloadtanzanite-a8d2c867ca35ea23d63123136e88730065ec9568.tar.gz
tanzanite-a8d2c867ca35ea23d63123136e88730065ec9568.tar.bz2
tanzanite-a8d2c867ca35ea23d63123136e88730065ec9568.zip
fix: viewraw context command and perfomance
Diffstat (limited to 'src/commands/moderation')
-rw-r--r--src/commands/moderation/removeReactionEmoji.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/moderation/removeReactionEmoji.ts b/src/commands/moderation/removeReactionEmoji.ts
index b059bff..bc24db0 100644
--- a/src/commands/moderation/removeReactionEmoji.ts
+++ b/src/commands/moderation/removeReactionEmoji.ts
@@ -14,7 +14,8 @@ export default class RemoveReactionEmojiCommand extends BushCommand {
{
id: 'message',
description: 'The message to remove all the reactions of a certain emoji from.',
- type: 'guildMessage',
+ type: util.arg.union('message', 'messageLink'),
+ readableType: 'message|messageLink',
prompt: 'What message would you like to remove a reaction from?',
retry: '{error} Please pick a valid message.',
slashType: ApplicationCommandOptionType.String