@evolvejs/core
Version:
An advanced Discord API wrapper with TS and JS support
23 lines (22 loc) • 568 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClientStatus = void 0;
class ClientStatus {
constructor(data) {
Object.defineProperty(this, "data", {
value: data,
enumerable: false,
writable: false,
});
this._handle();
}
_handle() {
if (!this.data)
return;
this.desktop = this.data.desktop;
this.mobile = this.data.mobile;
this.web = this.data.web;
return this;
}
}
exports.ClientStatus = ClientStatus;