Method GetWebhooksAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetWebhooksAsync()
Returns a list of webhooks.
public Task<IReadOnlyList<DiscordWebhook>> GetWebhooksAsync()
Returns
Exceptions
- UnauthorizedException
Thrown when the client does not have the ManageWebhooks permission.
- NotFoundException
Thrown when the channel does not exist.
- ServerErrorException
Thrown when Discord is unable to process the request.