Skip to content

MessageMentions

Defined in: zaun/js/index.d.ts:599

Who a message mentions, as the host honoured them.

new MessageMentions(): MessageMentions

MessageMentions

readonly empty: boolean

Defined in: zaun/js/index.d.ts:608


readonly everyone: boolean

Defined in: zaun/js/index.d.ts:600


readonly memberIds: string[]

Defined in: zaun/js/index.d.ts:601


readonly members: Collection<string, Member>

Defined in: zaun/js/index.d.ts:604

id → Member, from the community cache (partial until it has them).


readonly roleIds: string[]

Defined in: zaun/js/index.d.ts:602


readonly roles: Collection<string, Role>

Defined in: zaun/js/index.d.ts:607


readonly users: Collection<string, Member>

Defined in: zaun/js/index.d.ts:606

Same as members.

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.

string | Member | Role

boolean

boolean

boolean


toJSON(): MentionsData

Defined in: zaun/js/index.d.ts:611

MentionsData