aboutsummaryrefslogtreecommitdiff
path: root/src/arguments/snowflake.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/arguments/snowflake.ts')
-rw-r--r--src/arguments/snowflake.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/arguments/snowflake.ts b/src/arguments/snowflake.ts
deleted file mode 100644
index b98a20f..0000000
--- a/src/arguments/snowflake.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { BushArgumentTypeCaster, regex } from '#lib';
-import type { Snowflake } from 'discord.js';
-
-export const snowflake: BushArgumentTypeCaster<Snowflake | null> = (_, phrase) => {
- if (!phrase) return null;
- if (regex.snowflake.test(phrase)) return phrase;
- return null;
-};