diff options
Diffstat (limited to 'lib/arguments/snowflake.ts')
-rw-r--r-- | lib/arguments/snowflake.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arguments/snowflake.ts b/lib/arguments/snowflake.ts index b98a20f..ab0c7fc 100644 --- a/lib/arguments/snowflake.ts +++ b/lib/arguments/snowflake.ts @@ -1,7 +1,7 @@ -import { BushArgumentTypeCaster, regex } from '#lib'; +import { BotArgumentTypeCaster, regex } from '#lib'; import type { Snowflake } from 'discord.js'; -export const snowflake: BushArgumentTypeCaster<Snowflake | null> = (_, phrase) => { +export const snowflake: BotArgumentTypeCaster<Snowflake | null> = (_, phrase) => { if (!phrase) return null; if (regex.snowflake.test(phrase)) return phrase; return null; |