move method

Future<void> move(
  1. Snowflake channelId, {
  2. String? reason,
})

Move the member to a different voice channel.

await member.voice.move(channelId, reason: 'Testing');

Implementation

Future<void> move(Snowflake channelId, {String? reason}) async {
  await _memberMethods.updateMember(
    serverId: _member.server.id,
    memberId: _member.id,
    payload: {'channel_id': channelId},
    reason: reason,
  );
}