User to move
Instance Method
moveMember(_:in:to:then:)
Moves a member in a voice channel to another voice channel (if they are in one)
Declaration
func moveMember(_ userId: Snowflake, in guildId: Snowflake, to channelId: Snowflake, then completion: ((RequestError?) -> Void)? = nil)
Parameters
userId
-
guildId
-
Guild that they’re in currently
channelId
-
The Id of the channel to send them to