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
+3 -3
View File
@@ -17,19 +17,19 @@ export async function getGuild(
options: { counts?: boolean; addToCache?: boolean } = {
counts: true,
addToCache: true,
},
}
) {
const result = await rest.runMethod<Guild>(
"get",
endpoints.GUILDS_BASE(guildId),
{
with_counts: options.counts,
},
}
);
const guild = await structures.createDiscordenoGuild(
result,
Number((BigInt(guildId) >> 22n) % BigInt(ws.botGatewayData.shards)),
Number((BigInt(guildId) >> 22n) % BigInt(ws.botGatewayData.shards))
);
if (options.addToCache) {