Method LeaveAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
LeaveAsync()
Leaves a thread.
public Task LeaveAsync()
Returns
Exceptions
- UnauthorizedException
Thrown when the client has no access to this thread.
- NotFoundException
Thrown when the thread does not exist.
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.