@amelix/phoenix.js
Version:
A feature-rich API wrapper for the critically acclaimed chatting app Phoenix.. or something.
15 lines (14 loc) • 392 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/** The foundation of all Phoenix structures. */
class Base {
constructor(client, data) {
this.client = client;
this.id = data.id;
this.createdAt = data.createdAt;
}
clone() {
return Object.assign(Object.create(this), this);
}
}
exports.default = Base;