mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Format files
This commit is contained in:
@@ -8,14 +8,14 @@ import { camelKeysToSnakeCase } from "../../util/utils.ts";
|
||||
export async function ban(
|
||||
guildId: string,
|
||||
id: string,
|
||||
options: CreateGuildBan
|
||||
options: CreateGuildBan,
|
||||
) {
|
||||
await requireBotGuildPermissions(guildId, ["BAN_MEMBERS"]);
|
||||
|
||||
const result = await rest.runMethod(
|
||||
"put",
|
||||
endpoints.GUILD_BAN(guildId, id),
|
||||
camelKeysToSnakeCase(options)
|
||||
camelKeysToSnakeCase(options),
|
||||
);
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user