From cb6368c78c2c3cdc0ff63be600750e81f815ce8c Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 31 May 2022 19:39:45 -0400 Subject: refactoring & changes to steal command --- src/commands/moderation/massBan.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/moderation/massBan.ts') diff --git a/src/commands/moderation/massBan.ts b/src/commands/moderation/massBan.ts index 568b6be..f1d85ed 100644 --- a/src/commands/moderation/massBan.ts +++ b/src/commands/moderation/massBan.ts @@ -5,7 +5,7 @@ import { type ArgType, type BushMessage, type BushSlashMessage, - type OptionalArgType + type OptArgType } from '#lib'; import assert from 'assert'; import { ApplicationCommandOptionType, Collection, PermissionFlagsBits } from 'discord.js'; @@ -62,7 +62,7 @@ export default class MassBanCommand extends BushCommand { public override async exec( message: BushMessage | BushSlashMessage, - args: { users: ArgType<'string'>; reason: OptionalArgType<'string'>; days: OptionalArgType<'integer'> } + args: { users: ArgType<'string'>; reason: OptArgType<'string'>; days: OptArgType<'integer'> } ) { assert(message.inGuild()); -- cgit