Skip to main content
Module

x/discordeno/mod.ts>addReactions

Discord API library for Deno
Extremely Popular
Go to Latest
function addReactions
import { addReactions } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.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]