mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
getReactions
This commit is contained in:
@@ -2,13 +2,14 @@ import { rest } from "../../rest/rest.ts";
|
||||
import { DiscordUser } from "../../types/users/user.ts";
|
||||
import { Collection } from "../../util/collection.ts";
|
||||
import { endpoints } from "../../util/constants.ts";
|
||||
import {GetReactions} from "../../types/messages/message_get_reactions.ts";
|
||||
|
||||
/** Get a list of users that reacted with this emoji. */
|
||||
export async function getReactions(
|
||||
channelId: string,
|
||||
messageId: string,
|
||||
reaction: string,
|
||||
options?: DiscordGetReactions,
|
||||
options?: GetReactions,
|
||||
) {
|
||||
const users = (await rest.runMethod(
|
||||
"get",
|
||||
|
||||
Reference in New Issue
Block a user