Variable: RoleMentionRegex
const
RoleMentionRegex:RegExp
Regex that can capture the ID in Discord Role mentions
Raw
/^<@&(?<id>\d{17,20})>$/
Remark
Capture group 1 is the ID of the role. It is named id
.
Defined in
projects/utilities/packages/discord-utilities/src/lib/regexes.ts:102