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

x/natico/examples/deps.ts>addReactions

A powerful and customizable framework for Discordeno
Latest
function addReactions
import { addReactions } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Adds multiple reactions to a message. If ordered is true(default is false), it will add the reactions one at a time in the order provided. Note: 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
reactions: string[]
optional
ordered = [UNSUPPORTED]