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

x/natico/examples/deps.ts>addReaction

A powerful and customizable framework for Discordeno
Latest
function addReaction
import { addReaction } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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