Skip to main content
Module

x/wackford/discordeno.ts>getReactions

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function getReactions
import { getReactions } from "https://deno.land/x/wackford@v0.0.5/discordeno.ts";

Gets the list of users that reacted with an emoji to a message.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel the message to get the users for is in.
messageId: BigString
  • The ID of the message to get the users for.
reaction: string
  • The reaction for which to get the users.
optional
options: GetReactions
  • The parameters for the fetching of the users.

Returns

Promise<Collection<bigint, User>>

A collection of User objects assorted by user ID.