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
statusstringThe new status for this voice channel, or null to clear it.
reasonstringAn optional audit log reason for this operation.