diff options
Diffstat (limited to 'src/commands/info/snowflake.ts')
| -rw-r--r-- | src/commands/info/snowflake.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commands/info/snowflake.ts b/src/commands/info/snowflake.ts index f2ffaa8..1658da9 100644 --- a/src/commands/info/snowflake.ts +++ b/src/commands/info/snowflake.ts @@ -1,4 +1,4 @@ -import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; +import { ArgType, BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; import { MessageEmbed, SnowflakeUtil, @@ -39,7 +39,8 @@ export default class SnowflakeCommand extends BushCommand { slash: true }); } - public override async exec(message: BushMessage | BushSlashMessage, args: { snowflake: Snowflake }) { + + public override async exec(message: BushMessage | BushSlashMessage, args: { snowflake: ArgType<'snowflake'> }) { const snowflake = `${args.snowflake}` as Snowflake; const snowflakeEmbed = new MessageEmbed().setTitle('Unknown :snowflake:').setColor(util.colors.default); |
