Skip to main content
Module

x/discordeno/mod.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/mod.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