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.update(
    serverId: _member.serverId.value,
    memberId: _member.id.value,
    payload: {'channel_id': channelId},
    reason: reason,
  );
}