Method SetVoiceChannelStatusAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
SetVoiceChannelStatusAsync(string)
Sets a voice channels status.
public Task SetVoiceChannelStatusAsync(string status)
Parameters
status
stringStatus of the voice channel.
Returns
Exceptions
- NotFoundException
Thrown when the voice channel does not exist.
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.