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

x/harmony/src/managers/messageReactions.ts>MessageReactionsManager

An easy to use Discord API Library for Deno.
Latest
class MessageReactionsManager
import { MessageReactionsManager } from "https://deno.land/x/harmony@v2.9.1/src/managers/messageReactions.ts";

Constructors

new
MessageReactionsManager(client: Client, message: Message)

Methods

array(): Promise<MessageReaction[]>
flush(): Promise<void>
get(id: string): Promise<MessageReaction | undefined>
removeAll(): Promise<void>

Remove all Reactions from the Message

removeEmoji(emoji: Emoji | string): Promise<MessageReactionsManager>

Remove a specific Emoji from Reactions

removeUser(emoji: Emoji | string, user: User | string): Promise<MessageReactionsManager>

Remove a specific Emoji from Reactions

set(key: string, value: Reaction): Promise<void>
updateRefs(): Promise<void>