Skip to main content

Variable: FormattedCustomEmoji

const FormattedCustomEmoji: RegExp

Regex that matches any animated or non-animated custom Discord emoji. Unlike EmojiRegex It can be a substring of a larger string.

Raw

/<a?:\w{2,32}:\d{17,20}>/

Source

node_modules/@sapphire/discord-utilities/dist/esm/index.d.mts:835