disconnect method

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

Implementation

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