Skip to main content
Module

x/coward/mod.ts>Client#putReaction

🐔 Coward is a Deno module for easy interaction with the Discord API.
Latest
method Client.prototype.putReaction
import { Client } from "https://deno.land/x/coward@v0.3.2/mod.ts";

Put a reaction on a message. Requires the READ_MESSAGE_HISTORY permission. Additionally, if nobody has reacted to the message with the emoji, requires the ADD_REACTIONS permission.

Parameters

channelID: string
messageID: string
emoji: string

Returns

Promise<void>