Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/wackford/discordeno.ts>addReaction

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function addReaction
import { addReaction } from "https://deno.land/x/wackford@v0.0.5/discordeno.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>