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/massEvidence.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/moderation/massEvidence.ts') diff --git a/src/commands/moderation/massEvidence.ts b/src/commands/moderation/massEvidence.ts index 62421da..67f5a25 100644 --- a/src/commands/moderation/massEvidence.ts +++ b/src/commands/moderation/massEvidence.ts @@ -1,4 +1,4 @@ -import { BushCommand, ModLog, type ArgType, type BushMessage, type BushSlashMessage, type OptionalArgType } from '#lib'; +import { BushCommand, ModLog, type ArgType, type BushMessage, type BushSlashMessage, type OptArgType } from '#lib'; import assert from 'assert'; import { ApplicationCommandOptionType, PermissionFlagsBits } from 'discord.js'; import { EvidenceCommand } from '../index.js'; @@ -45,7 +45,7 @@ export default class MassEvidenceCommand extends BushCommand { public override async exec( message: BushMessage | BushSlashMessage, - args: { users: ArgType<'string'>; evidence: OptionalArgType<'string'> } + args: { users: ArgType<'string'>; evidence: OptArgType<'string'> } ) { assert(message.inGuild()); -- cgit