Method SetVoiceChannel
| Improve this Doc View SourceSetVoiceChannel(Snowflake)
Sets the ID of the voice channel to move the member to (if they are currently connected to voice).
The current bot must have permission to connect to this channel.
Requires MoveMembers.
Declaration
public ModifyGuildMemberOptions SetVoiceChannel(Snowflake voiceChannelId)
Parameters
| Type | Name | Description |
|---|---|---|
| Snowflake | voiceChannelId |
Returns
| Type | Description |
|---|---|
| ModifyGuildMemberOptions |