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