Skip to main content
Module

x/natico/deps.ts>createWebhook

A powerful and customizable framework for Discordeno
Latest
function createWebhook
import { createWebhook } from "https://deno.land/x/natico@4.0.0-pre.4/deps.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'

Parameters

bot: Bot
channelId: bigint
options: CreateWebhook