discord-api-types/globals
Index
Type Aliases
Variables
Type Aliases
Snowflake
Variables
constFormattingPatterns
Type declaration
readonlyAnimatedEmoji: RegExp
Regular expression for matching strictly an animated custom emoji
The
animated
,name
andid
group properties are present on theexec
result of this expressionreadonlyChannel: RegExp
Regular expression for matching a channel mention
The
id
group property is present on theexec
result of this expressionreadonlyDefaultStyledTimestamp: RegExp
Regular expression for matching strictly default styled timestamps
The
timestamp
group property is present on theexec
result of this expressionreadonlyEmoji: RegExp
Regular expression for matching a custom emoji, either static or animated
The
animated
,name
andid
group properties are present on theexec
result of this expressionreadonlyGuildNavigation: RegExp
Regular expression for matching a guild navigation mention
The
type
group property is present on theexec
result of this expressionreadonlyLinkedRole: RegExp
Regular expression for matching a linked role mention
The
id
group property is present on theexec
result of this expressionreadonlyRole: RegExp
Regular expression for matching a role mention
The
id
group property is present on theexec
result of this expressionreadonlySlashCommand: RegExp
Regular expression for matching a application command mention
The
fullName
(possibly includingname
,subcommandOrGroup
andsubcommand
) andid
group properties are present on theexec
result of this expressionreadonlyStaticEmoji: RegExp
Regular expression for matching strictly a static custom emoji
The
name
andid
group properties are present on theexec
result of this expressionreadonlyStyledTimestamp: RegExp
Regular expression for matching strictly custom styled timestamps
The
timestamp
andstyle
group properties are present on theexec
result of this expressionreadonlyTimestamp: RegExp
Regular expression for matching a timestamp, either default or custom styled
The
timestamp
andstyle
group properties are present on theexec
result of this expressionreadonlyUser: RegExp
Regular expression for matching a user mention, strictly without a nickname
The
id
group property is present on theexec
result of this expressionreadonlyUserWithNickname: RegExp
Regular expression for matching a user mention, strictly with a nickname
The
id
group property is present on theexec
result of this expressionreadonlyUserWithOptionalNickname: RegExp
Regular expression for matching a user mention, with or without a nickname
The
id
group property is present on theexec
result of this expression
https://discord.com/developers/docs/reference#snowflakes