unDeafen method

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

UnDeafen the member.

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

Implementation

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