mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Prettified Code!
This commit is contained in:
@@ -9,12 +9,12 @@ export async function getReactions(
|
||||
channelId: bigint,
|
||||
messageId: bigint,
|
||||
reaction: string,
|
||||
options?: GetReactions,
|
||||
options?: GetReactions
|
||||
) {
|
||||
const users = await rest.runMethod<User[]>(
|
||||
"get",
|
||||
endpoints.CHANNEL_MESSAGE_REACTION(channelId, messageId, reaction),
|
||||
options,
|
||||
options
|
||||
);
|
||||
|
||||
return new Collection(users.map((user) => [user.id, user]));
|
||||
|
||||
Reference in New Issue
Block a user