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 -4
View File
@@ -10,10 +10,8 @@ export async function getInvites(guildId: bigint) {
const result = await rest.runMethod<Invite[]>(
"get",
endpoints.GUILD_INVITES(guildId),
endpoints.GUILD_INVITES(guildId)
);
return new Collection(
result.map((invite) => [invite.code, invite]),
);
return new Collection(result.map((invite) => [invite.code, invite]));
}