.cache

Type: Collection

.client

Type: Client

.shouldCacheWebhook

.create(serverId:

string

,

options:RESTPostServerWebhooksBody)

Type: Promise<Webhook>

Create a webhook

.delete(serverId:

string

,

webhookId:

string

)

Type: Promise<unknown>

Delete a webhook

.fetch(serverId:

string

,

webhookId:

string

,

force:

boolean

)

Type: Promise<Webhook>

Get a webhook

.fetchMany(serverId:

string

,

channelId:

string

)

Type: Promise<Collection>

Get a server's webhooks

.update(serverId:

string

,

webhookId:

string

,

options:RESTPutServerWebhookBody)

Type: Promise<Webhook>

Update a webhook