mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Prettified Code!
This commit is contained in:
@@ -6,8 +6,5 @@ import { requireBotChannelPermissions } from "../../util/permissions.ts";
|
||||
export async function deleteWebhook(channelId: bigint, webhookId: bigint) {
|
||||
await requireBotChannelPermissions(channelId, ["MANAGE_WEBHOOKS"]);
|
||||
|
||||
return await rest.runMethod<undefined>(
|
||||
"delete",
|
||||
endpoints.WEBHOOK_ID(webhookId)
|
||||
);
|
||||
return await rest.runMethod<undefined>("delete", endpoints.WEBHOOK_ID(webhookId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user