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

x/discordeno/template/bigbot/deps.ts>addReaction

Discord API library for Deno
Extremely Popular
Go to Latest
function addReaction
import { addReaction } from "https://deno.land/x/discordeno@13.0.0-rc45/template/bigbot/deps.ts";

Create a reaction for the message. Reaction takes the form of name:id for custom guild emoji, or Unicode characters. Requires READ_MESSAGE_HISTORY and ADD_REACTIONS

Parameters

bot: Bot
channelId: bigint
messageId: bigint
reaction: string