import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";
Create a new webhook. Requires the MANAGE_WEBHOOKS
permission. Returns a webhook object on success. Webhook names follow our naming restrictions that can be found in our Usernames and Nicknames documentation, with the following additional stipulations:
- Webhook names cannot be: 'clyde'
Returns
Promise<WebhookPayload>