mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
style: format src files
This commit is contained in:
@@ -34,7 +34,9 @@ export async function handleInternalReady(
|
||||
|
||||
// All the members that came in on guild creates should now be processed 1 by 1
|
||||
for (const [guildID, members] of initialMemberLoadQueue.entries()) {
|
||||
await Promise.all(members.map(member => structures.createMember(member, guildID)))
|
||||
await Promise.all(
|
||||
members.map((member) => structures.createMember(member, guildID)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ export async function startBigBrainBot(data: BigBrainBotOptions) {
|
||||
endpoints.GATEWAY_BOT,
|
||||
) as DiscordBotGatewayData;
|
||||
|
||||
if (!data.wsURL) proxyWSURL = botGatewayData.url
|
||||
if (!data.wsURL) proxyWSURL = botGatewayData.url;
|
||||
spawnShards(
|
||||
botGatewayData,
|
||||
identifyPayload,
|
||||
|
||||
@@ -36,7 +36,7 @@ export async function createMember(data: MemberCreatePayload, guildID: string) {
|
||||
const cached = await cacheHandlers.get("members", user.id);
|
||||
if (cached) {
|
||||
for (const [id, guild] of cached.guilds.entries()) {
|
||||
member.guilds.set(id, guild)
|
||||
member.guilds.set(id, guild);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user