discord-api-types/globals
Index
Type Aliases
Variables
Type Aliases
Permissions
Snowflake
Variables
constFormattingPatterns
Type declaration
readonlyAnimatedEmoji: RegExp
Regular expression for matching strictly an animated custom emoji
The
animated,nameandidgroup properties are present on theexecresult of this expressionreadonlyChannel: RegExp
Regular expression for matching a channel mention
The
idgroup property is present on theexecresult of this expressionreadonlyDefaultStyledTimestamp: RegExp
Regular expression for matching strictly default styled timestamps
The
timestampgroup property is present on theexecresult of this expressionreadonlyEmoji: RegExp
Regular expression for matching a custom emoji, either static or animated
The
animated,nameandidgroup properties are present on theexecresult of this expressionreadonlyGuildNavigation: RegExp
Regular expression for matching a guild navigation mention
The
typegroup property is present on theexecresult of this expressionreadonlyLinkedRole: RegExp
Regular expression for matching a linked role mention
The
idgroup property is present on theexecresult of this expressionreadonlyRole: RegExp
Regular expression for matching a role mention
The
idgroup property is present on theexecresult of this expressionreadonlySlashCommand: RegExp
Regular expression for matching a application command mention
The
fullName(possibly includingname,subcommandOrGroupandsubcommand) andidgroup properties are present on theexecresult of this expressionreadonlyStaticEmoji: RegExp
Regular expression for matching strictly a static custom emoji
The
nameandidgroup properties are present on theexecresult of this expressionreadonlyStyledTimestamp: RegExp
Regular expression for matching strictly custom styled timestamps
The
timestampandstylegroup properties are present on theexecresult of this expressionreadonlyTimestamp: RegExp
Regular expression for matching a timestamp, either default or custom styled
The
timestampandstylegroup properties are present on theexecresult of this expressionreadonlyUser: RegExp
Regular expression for matching a user mention, strictly without a nickname
The
idgroup property is present on theexecresult of this expressionreadonlyUserWithNickname: RegExp
Regular expression for matching a user mention, strictly with a nickname
The
idgroup property is present on theexecresult of this expressionreadonlyUserWithOptionalNickname: RegExp
Regular expression for matching a user mention, with or without a nickname
The
idgroup property is present on theexecresult of this expression
https://discord.com/developers/docs/topics/permissions