diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-15 15:48:50 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-15 15:48:50 -0500 |
commit | e5f90ecfa84b2d102c0774b0c50a31d58025555b (patch) | |
tree | f3fa3da369089183537eae5da82fb9f2d4e19faf /src/arguments/discordEmoji.ts | |
parent | 6fd7f7064782fddc20e65b5f1b1ba987c3a868a4 (diff) | |
download | tanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.tar.gz tanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.tar.bz2 tanzanite-e5f90ecfa84b2d102c0774b0c50a31d58025555b.zip |
idk
Diffstat (limited to 'src/arguments/discordEmoji.ts')
-rw-r--r-- | src/arguments/discordEmoji.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arguments/discordEmoji.ts b/src/arguments/discordEmoji.ts index 6fb971a..8648f7f 100644 --- a/src/arguments/discordEmoji.ts +++ b/src/arguments/discordEmoji.ts @@ -1,7 +1,7 @@ import { type BushArgumentTypeCaster } from '#lib'; import { type Snowflake } from 'discord-api-types'; -export const discordEmojiTypeCaster: BushArgumentTypeCaster = (_, phrase): { name: string; id: Snowflake } | null => { +export const discordEmoji: BushArgumentTypeCaster = (_, phrase): { name: string; id: Snowflake } | null => { if (!phrase) return null; const validEmoji: RegExpExecArray | null = client.consts.regex.discordEmoji.exec(phrase); if (!validEmoji || !validEmoji.groups) return null; |