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

x/discordeno/helpers/mod.ts>getChannelWebhooks

Discord API library for Deno
Go to Latest
function getChannelWebhooks
import { getChannelWebhooks } from "https://deno.land/x/discordeno@17.0.1/helpers/mod.ts";

Gets a list of webhooks for a channel.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel which to get the webhooks of.

Returns

Promise<Collection<bigint, Webhook>>

A collection of Webhook objects assorted by webhook ID.