Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/webhooks/mod.ts>getWebhook

Discord API library for Deno
Extremely Popular
Go to Latest
function getWebhook
import { getWebhook } from "https://deno.land/x/discordeno@17.0.0/helpers/webhooks/mod.ts";

Gets a webhook by its ID.

Parameters

bot: Bot
  • The bot instance to use to make the request.
webhookId: BigString
  • The ID of the webhook to get.

Returns

Promise<Webhook>

An instance of Webhook.