Table of Contents

Method AddWebhook

Namespace
DSharpPlus
Assembly
DSharpPlus.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.