discord-api-types/globals
Index
Type Aliases
Variables
Type Aliases
Snowflake
Variables
constFormattingPatterns
Type declaration
- AnimatedEmoji: RegExp- Regular expression for matching strictly an animated custom emoji - The - animated,- nameand- idgroup properties are present on the- execresult of this expression
- Channel: RegExp- Regular expression for matching a channel mention - The - idgroup property is present on the- execresult of this expression
- DefaultStyledTimestamp: RegExp- Regular expression for matching strictly default styled timestamps - The - timestampgroup property is present on the- execresult of this expression
- Emoji: RegExp- Regular expression for matching a custom emoji, either static or animated - The - animated,- nameand- idgroup properties are present on the- execresult of this expression
- Role: RegExp- Regular expression for matching a role mention - The - idgroup property is present on the- execresult of this expression
- SlashCommand: RegExp- Regular expression for matching a application command mention - The - fullName(possibly including- name,- subcommandOrGroupand- subcommand) and- idgroup properties are present on the- execresult of this expression
- StaticEmoji: RegExp- Regular expression for matching strictly a static custom emoji - The - nameand- idgroup properties are present on the- execresult of this expression
- StyledTimestamp: RegExp- Regular expression for matching strictly custom styled timestamps - The - timestampand- stylegroup properties are present on the- execresult of this expression
- Timestamp: RegExp- Regular expression for matching a timestamp, either default or custom styled - The - timestampand- stylegroup properties are present on the- execresult of this expression
- User: RegExp- Regular expression for matching a user mention, strictly without a nickname - The - idgroup property is present on the- execresult of this expression
- UserWithNickname: RegExp- Regular expression for matching a user mention, strictly with a nickname - The - idgroup property is present on the- execresult of this expression
- UserWithOptionalNickname: RegExp- Regular expression for matching a user mention, with or without a nickname - The - idgroup property is present on the- execresult of this expression
https://discord.com/developers/docs/reference#snowflakes