aboutsummaryrefslogtreecommitdiff
path: root/src/arguments/snowflake.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-15 15:48:50 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-15 15:48:50 -0500
commite5f90ecfa84b2d102c0774b0c50a31d58025555b (patch)
treef3fa3da369089183537eae5da82fb9f2d4e19faf /src/arguments/snowflake.ts
parent6fd7f7064782fddc20e65b5f1b1ba987c3a868a4 (diff)
downloadtanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.tar.gz
tanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.tar.bz2
tanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.zip
idk
Diffstat (limited to 'src/arguments/snowflake.ts')
-rw-r--r--src/arguments/snowflake.ts2
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;