disclient
Version:
A powerfull discord api wrapper.
51 lines (50 loc) • 1.16 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ClientUser {
_username;
_discriminator;
_verified;
_id;
_flags;
_email;
_bot;
_avatar;
constructor(_username, _discriminator, _verified, _id, _flags, _email, _bot, _avatar) {
this._username = _username;
this._discriminator = _discriminator;
this._verified = _verified;
this._id = _id;
this._flags = _flags;
this._email = _email;
this._bot = _bot;
this._avatar = _avatar;
}
get username() {
return this._username;
}
get discriminator() {
return this._discriminator;
}
get verified() {
return this._verified;
}
get id() {
return this._id;
}
get flags() {
return this._flags;
}
get email() {
return this._email;
}
get bot() {
return this._bot;
}
get tag() {
return `${this._username}#${this._discriminator}`;
}
get avatar() {
return this._avatar;
}
}
exports.default = ClientUser;