Discore
Show / Hide Table of Contents

Method SetVoiceChannel

| Improve this Doc View Source

SetVoiceChannel(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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX