function mentionsEveryone
mentionsEveryone(body: string): boolean

Checks whether body says @everyone, in any case, by the rule of mentionedUsernames. Only the chat service reads it, to set a message's mentionsEveryone when its author may; the client reads that flag, not the text.

Parameters

body: string

Return Type

boolean

Usage

import { mentionsEveryone } from "shared/mention.ts";