Skip to main content
Module

x/oasis/deps.ts>createWebhook

An object oriented Discordeno framework
Latest
function createWebhook
import { createWebhook } from "https://deno.land/x/oasis@2.1.0/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