aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/purge.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/purge.ts')
-rw-r--r--src/commands/moderation/purge.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/purge.ts b/src/commands/moderation/purge.ts
index 21b9a3a..f039046 100644
--- a/src/commands/moderation/purge.ts
+++ b/src/commands/moderation/purge.ts
@@ -13,7 +13,7 @@ export default class PurgeCommand extends BushCommand {
{
id: 'amount',
description: 'The amount of messages to purge.',
- customType: util.arg.range('integer', 1, 100, true),
+ type: util.arg.range('integer', 1, 100, true),
readableType: 'integer',
prompt: 'How many messages would you like to purge?',
retry: '{error} Please pick a number between 1 and 100.',