Method RemoveAsync
- Namespace
- Dis
Cat .EntitiesSharp
- Assembly
- DisCatSharp.dll
RemoveAsync(string?)
Kicks this member from their guild.
Parameters
reason
stringReason for audit logs.
Returns
Exceptions
- Unauthorized
Exception Thrown when the client does not have the Kick
Members permission.- Not
Found Exception Thrown when the member does not exist.
- Bad
Request Exception Thrown when an invalid parameter was provided.
- Server
Error Exception Thrown when Discord is unable to process the request.