diff options
Diffstat (limited to 'src/commands/moderation/unban.ts')
-rw-r--r-- | src/commands/moderation/unban.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moderation/unban.ts b/src/commands/moderation/unban.ts index 9973d61..e6ac6d0 100644 --- a/src/commands/moderation/unban.ts +++ b/src/commands/moderation/unban.ts @@ -5,7 +5,7 @@ import { type ArgType, type BushMessage, type BushSlashMessage, - type OptionalArgType + type OptArgType } from '#lib'; import assert from 'assert'; import { ApplicationCommandOptionType, PermissionFlagsBits } from 'discord.js'; @@ -47,7 +47,7 @@ export default class UnbanCommand extends BushCommand { public override async exec( message: BushMessage | BushSlashMessage, - { user, reason }: { user: ArgType<'user'>; reason: OptionalArgType<'string'> } + { user, reason }: { user: ArgType<'user'>; reason: OptArgType<'string'> } ) { assert(message.inGuild()); |