aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/viewRaw.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/viewRaw.ts')
-rw-r--r--src/commands/utilities/viewRaw.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/utilities/viewRaw.ts b/src/commands/utilities/viewRaw.ts
index 1da26f9..20e7272 100644
--- a/src/commands/utilities/viewRaw.ts
+++ b/src/commands/utilities/viewRaw.ts
@@ -14,8 +14,8 @@ export default class ViewRawCommand extends BushCommand {
{
id: 'message',
description: 'The message to view the raw content of.',
- type: util.arg.union('guildMessage', 'messageLink'),
- readableType: 'guildMessage|messageLink',
+ type: util.arg.union('message', 'messageLink'),
+ readableType: 'message|messageLink',
prompt: 'What message would you like to view?',
retry: '{error} Choose a valid message.',
slashType: ApplicationCommandOptionType.String
@@ -66,7 +66,7 @@ export default class ViewRawCommand extends BushCommand {
public override async exec(
message: BushMessage | BushSlashMessage,
args: {
- message: ArgType<'guildMessage'> | ArgType<'messageLink'>;
+ message: ArgType<'message'> | ArgType<'messageLink'>;
channel: OptionalArgType<'textChannel'> | OptionalArgType<'newsChannel'> | OptionalArgType<'threadChannel'>;
json: boolean;
js: boolean;