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