Table of Contents

Method AddWebhook

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

AddWebhook(DiscordWebhook)

Registers a webhook with this client. This reuses the supplied webhook object.

public DiscordWebhook AddWebhook(DiscordWebhook webhook)

Parameters

webhook DiscordWebhook

Webhook to register.

Returns

DiscordWebhook

The registered webhook.