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 -4
View File
@@ -27,7 +27,7 @@ export async function editGuild(guildId: bigint, options: ModifyGuild) {
const result = await rest.runMethod<Guild>(
"patch",
endpoints.GUILDS_BASE(guildId),
options,
options
);
const cached = await cacheHandlers.get("guilds", guildId);
@@ -35,8 +35,7 @@ export async function editGuild(guildId: bigint, options: ModifyGuild) {
result,
cached?.shardId ||
Number(
(BigInt(result.id) >> 22n % BigInt(ws.botGatewayData.shards))
.toString(),
),
(BigInt(result.id) >> 22n % BigInt(ws.botGatewayData.shards)).toString()
)
);
}