Prettified Code!

This commit is contained in:
itohatweb
2021-05-21 15:51:33 +00:00
committed by GitHub Action
parent fe4ab8517b
commit 3549cdeb63
279 changed files with 1617 additions and 1768 deletions
+2 -2
View File
@@ -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]));