Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Webhook

Webhooks are a low-effort way to post messages to channels in Discord

Hierarchy

Index

Constructors

constructor

Properties

avatarHash

avatarHash: string | null

The default avatar hash of the webhook

bot

bot: Bot

The Bot operating this structure

Readonly channel

channel: GuildChannel

The channel this webhook is for

guild

guild: Guild

The Guild associated to this structure

id

The ID of the webhook

name

name: string | null

The default name of the webhook

token

token: string | undefined

The secure token of the webhook. Returned for incoming webhooks

type

The type of the webhook

user

user: User

The user this webhook was created by

Methods

clone

  • clone(): this

modify

update

Generated using TypeDoc