Table of Contents

Method SetVoiceChannelStatusAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

SetVoiceChannelStatusAsync(string?, string?)

Updates the status for this voice channel. Requires the SetVoiceChannelStatus permission, and additionally the ManageChannels permission if the current user is not connected to the voice channel.

public Task SetVoiceChannelStatusAsync(string? status, string? reason = null)

Parameters

status string

The new status for this voice channel, or null to clear it.

reason string

An optional audit log reason for this operation.

Returns

Task