Method DeleteAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
DeleteAsync()
Deletes this guild. Requires the caller to be the owner of the guild.
public Task DeleteAsync()
Returns
- Task
Exceptions
- UnauthorizedException
Thrown when the client is not the owner of the guild.
- ServerErrorException
Thrown when Discord is unable to process the request.