This commit is contained in:
ayntee
2021-04-12 23:17:39 +04:00
2 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -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",