diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-05-31 19:39:45 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-05-31 19:39:45 -0400 |
commit | cb6368c78c2c3cdc0ff63be600750e81f815ce8c (patch) | |
tree | 0a1bb327f808e6a192277eaff9e8e1ab04ba20ee /src/commands/moderation/role.ts | |
parent | 302461fcd34de14eccd4d18664af3fc12a37b4d5 (diff) | |
download | tanzanite-cb6368c78c2c3cdc0ff63be600750e81f815ce8c.tar.gz tanzanite-cb6368c78c2c3cdc0ff63be600750e81f815ce8c.tar.bz2 tanzanite-cb6368c78c2c3cdc0ff63be600750e81f815ce8c.zip |
refactoring & changes to steal command
Diffstat (limited to 'src/commands/moderation/role.ts')
-rw-r--r-- | src/commands/moderation/role.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moderation/role.ts b/src/commands/moderation/role.ts index 8580f2f..a87b2bf 100644 --- a/src/commands/moderation/role.ts +++ b/src/commands/moderation/role.ts @@ -6,7 +6,7 @@ import { type ArgType, type BushMessage, type BushSlashMessage, - type OptionalArgType + type OptArgType } from '#lib'; import { type ArgumentGeneratorReturn } from 'discord-akairo'; import { ApplicationCommandOptionType, PermissionFlagsBits, type Snowflake } from 'discord.js'; @@ -123,7 +123,7 @@ export default class RoleCommand extends BushCommand { action: 'add' | 'remove'; member: ArgType<'member'>; role: ArgType<'role'>; - duration?: OptionalArgType<'duration'>; + duration?: OptArgType<'duration'>; force?: boolean; } ) { |