Const
Readonly
AnimatedEmoji: RegExpReadonly
Channel: RegExpRegular expression for matching a channel mention
The id
group property is present on the exec
result of this expression
Readonly
DefaultStyledTimestamp: RegExpRegular expression for matching strictly default styled timestamps
The timestamp
group property is present on the exec
result of this expression
Readonly
Emoji: RegExpRegular expression for matching a custom emoji, either static or animated
The animated
, name
and id
group properties are present on the exec
result of this expression
Readonly
GuildNavigation: RegExpRegular expression for matching a guild navigation mention
The type
group property is present on the exec
result of this expression
Readonly
LinkedRole: RegExpRegular expression for matching a linked role mention
The id
group property is present on the exec
result of this expression
Readonly
Role: RegExpRegular expression for matching a role mention
The id
group property is present on the exec
result of this expression
Readonly
SlashCommand: RegExpRegular expression for matching a application command mention
The fullName
(possibly including name
, subcommandOrGroup
and subcommand
) and id
group properties are present on the exec
result of this expression
Readonly
StaticEmoji: RegExpRegular expression for matching strictly a static custom emoji
The name
and id
group properties are present on the exec
result of this expression
Readonly
StyledTimestamp: RegExpRegular expression for matching strictly custom styled timestamps
The timestamp
and style
group properties are present on the exec
result of this expression
Readonly
Timestamp: RegExpRegular expression for matching a timestamp, either default or custom styled
The timestamp
and style
group properties are present on the exec
result of this expression
Readonly
User: RegExpRegular expression for matching a user mention, strictly without a nickname
The id
group property is present on the exec
result of this expression
Readonly
UserWithNickname: RegExpRegular expression for matching a user mention, strictly with a nickname
The id
group property is present on the exec
result of this expression
Readonly
UserWithOptionalNickname: RegExpRegular expression for matching a user mention, with or without a nickname
The id
group property is present on the exec
result of this expression
Regular expression for matching strictly an animated custom emoji
The
animated
,name
andid
group properties are present on theexec
result of this expression