unMute method

Future<void> unMute({
  1. String? reason,
})

Unmute the member.

await member.voice.unMute(reason: 'Testing');

Implementation

Future<void> unMute({String? reason}) async {
  await _memberMethods.updateMember(
    serverId: _member.server.id,
    memberId: _member.id,
    payload: {'mute': false},
    reason: reason,
  );
}