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

x/discordeno/plugins/cache/deps.ts>addReactions

Discord API library for Deno
Go to Latest
function addReactions
import { addReactions } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";

Adds multiple a reaction to a message.

This function uses the addReaction() helper behind the scenes.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel the message to add reactions to is in.
messageId: BigString
  • The ID of the message to add the reactions to.
reactions: string[]
  • The reactions to add to the message.
optional
ordered = [UNSUPPORTED]
  • Whether the reactions must be added in order or not.

Returns

Promise<void>