setStatus method

void setStatus(
  1. ClientStatus status
)

Define status of this

Implementation

void setStatus (ClientStatus status) {
  _shards.send(OpCode.statusUpdate, {
    'status': status._value,
  });
}