Skip to main content
Module

x/harmony/mod.ts>MessageReactionsManager

An easy to use Discord API Library for Deno.
Latest
class MessageReactionsManager
import { MessageReactionsManager } from "https://deno.land/x/harmony@v2.9.0/mod.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>