diff options
Diffstat (limited to 'src/commands/utilities/whoHasRole.ts')
-rw-r--r-- | src/commands/utilities/whoHasRole.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/utilities/whoHasRole.ts b/src/commands/utilities/whoHasRole.ts index ac6f3c5..5f13c02 100644 --- a/src/commands/utilities/whoHasRole.ts +++ b/src/commands/utilities/whoHasRole.ts @@ -1,4 +1,4 @@ -import { BushCommand, BushRole, ButtonPaginator, OptionalArgType, type BushMessage, type BushSlashMessage } from '#lib'; +import { BushCommand, BushRole, ButtonPaginator, OptArgType, type BushMessage, type BushSlashMessage } from '#lib'; import assert from 'assert'; import { ApplicationCommandOptionType, Util, type CommandInteraction } from 'discord.js'; @@ -33,7 +33,7 @@ export default class WhoHasRoleCommand extends BushCommand { public override async exec( message: BushMessage | BushSlashMessage, args: { - [K in `role${NumberRange}`]: OptionalArgType<'role'>; + [K in `role${NumberRange}`]: OptArgType<'role'>; } ) { assert(message.inGuild()); |