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
DiscordWebhookWebhook to register.
Returns
- DiscordWebhook
The registered webhook.