Skip to content

parseMentions(content): Mentions

Defined in: sdk/js/src/mention.ts:45

The mentions content shows: <@id> (and the usual <@!id>) for members, <@&id> for roles, @everyone. Each id once, in order, at most 50 members and 20 roles; malformed ids are skipped. Use it only on text the bot wrote: on text from members it would mention whoever they named.

string

Mentions