deafen method

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

Implementation

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