Module

x/discordeno/plugins/helpers/deps.ts>addReaction

Discord API library for Deno
Latest
function addReaction
import { addReaction } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";

Adds a reaction to a message.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel the message to add a reaction to is in.
messageId: BigString
  • The ID of the message to add a reaction to.
reaction: string
  • The reaction to add to the message.

Returns

Promise<void>