Table of Contents

Method SetVoiceChannelStatusAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

SetVoiceChannelStatusAsync(string)

Sets a voice channels status.

public Task SetVoiceChannelStatusAsync(string status)

Parameters

status string

Status of the voice channel.

Returns

Task

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.