MessageMentions
Defined in: zaun/js/index.d.ts:599
Who a message mentions, as the host honoured them.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MessageMentions():
MessageMentions
Returns
Section titled “Returns”MessageMentions
Properties
Section titled “Properties”
readonlyempty:boolean
Defined in: zaun/js/index.d.ts:608
everyone
Section titled “everyone”
readonlyeveryone:boolean
Defined in: zaun/js/index.d.ts:600
memberIds
Section titled “memberIds”
readonlymemberIds:string[]
Defined in: zaun/js/index.d.ts:601
members
Section titled “members”
readonlymembers:Collection<string,Member>
Defined in: zaun/js/index.d.ts:604
id → Member, from the community cache (partial until it has them).
roleIds
Section titled “roleIds”
readonlyroleIds:string[]
Defined in: zaun/js/index.d.ts:602
readonlyroles:Collection<string,Role>
Defined in: zaun/js/index.d.ts:607
readonlyusers:Collection<string,Member>
Defined in: zaun/js/index.d.ts:606
Same as members.
Methods
Section titled “Methods”has(
target,options?):boolean
Defined in: zaun/js/index.d.ts:610
Whether target is named, mentioned by @everyone, or (a member) by one of its roles.
Parameters
Section titled “Parameters”target
Section titled “target”options?
Section titled “options?”ignoreEveryone?
Section titled “ignoreEveryone?”boolean
ignoreRoles?
Section titled “ignoreRoles?”boolean
Returns
Section titled “Returns”boolean
toJSON()
Section titled “toJSON()”toJSON():
MentionsData
Defined in: zaun/js/index.d.ts:611