move method

Future<void> move(
  1. Snowflake channelId
)

Moves a member from one voice channel to another

Example :

final member = guild.members.cache.get('240561194958716924');
final voiceChannel = guild.channels.cache.get('240561194958716924');

if (member != null && voiceChannel != null) {
  await member.move(voiceChannel.id);
}

Implementation

Future<void> move(Snowflake channelId) async {
  _updateChannel(channelId);
}