Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/harmony/src/structures/messageMentions.ts>MessageMentions

An easy to use Discord API Library for Deno.
Go to Latest
class MessageMentions
import { MessageMentions } from "https://deno.land/x/harmony@v2.8.0/src/structures/messageMentions.ts";

Constructors

new
MessageMentions(client: Client, message: Message)

Properties

channels: Collection<string, GuildTextBasedChannel>
client: Client
everyone: boolean
message: Message
roles: Collection<string, Role>
users: Collection<string, User>

Methods

fromPayload(payload: MessagePayload): Promise<MessageMentions>

Static Properties

CHANNEL_MENTION: RegExp
EVERYONE_MENTION: RegExp
ROLE_MENTION: RegExp
USER_MENTION: RegExp