Method UpdateAsync
- Namespace
- Dis
Cat .EntitiesSharp
- Assembly
- DisCatSharp.dll
UpdateAsync(Permissions?, Permissions?, string)
Updates this channel overwrite.
Parameters
allow
Permissions?Permissions that are allowed.
deny
Permissions?Permissions that are denied.
reason
stringReason as to why you made this change.
Returns
Exceptions
- Unauthorized
Exception Thrown when the client does not have the Manage
Roles permission.- Not
Found Exception Thrown when the overwrite 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.