Prettified Code!

This commit is contained in:
itohatweb
2021-05-21 15:55:49 +00:00
committed by GitHub Action
parent 71a20fb0f4
commit 179add27c9
271 changed files with 889 additions and 3067 deletions
+1 -5
View File
@@ -16,11 +16,7 @@ export async function pruneMembers(guildId: bigint, options: BeginGuildPrune) {
await requireBotGuildPermissions(guildId, ["KICK_MEMBERS"]);
const result = await rest.runMethod<{ pruned: number }>(
"post",
endpoints.GUILD_PRUNE(guildId),
snakelize(options)
);
const result = await rest.runMethod<{ pruned: number }>("post", endpoints.GUILD_PRUNE(guildId), snakelize(options));
return result.pruned;
}