diff options
Diffstat (limited to 'src/commands/utilities/steal.ts')
-rw-r--r-- | src/commands/utilities/steal.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/utilities/steal.ts b/src/commands/utilities/steal.ts index 6a15d71..480201a 100644 --- a/src/commands/utilities/steal.ts +++ b/src/commands/utilities/steal.ts @@ -1,7 +1,7 @@ -import { BushCommand, BushSlashMessage, type BushMessage } from '#lib'; +import { ArgType, BushCommand, BushSlashMessage, type BushMessage } from '#lib'; import { ArgumentOptions, ArgumentType, ArgumentTypeCaster, Flag } from 'discord-akairo'; -import { type Snowflake } from 'discord.js'; import _ from 'lodash'; +import { URL } from 'url'; export default class StealCommand extends BushCommand { public constructor() { @@ -72,7 +72,7 @@ export default class StealCommand extends BushCommand { public override async exec( message: BushMessage | BushSlashMessage, - args?: { emoji?: { name: string; id: Snowflake } | Snowflake | URL | string; name: string } + args?: { emoji?: ArgType<'discordEmoji'> | ArgType<'snowflake'> | ArgType<'url'> | string; name: string } ) { if (!args || !args.emoji) return await message.util.reply(`${util.emojis.error} You must provide an emoji to steal.`); |