mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
45 lines
639 B
JavaScript
45 lines
639 B
JavaScript
|
|
class member {
|
||
|
|
/** @type {Object} */
|
||
|
|
user;
|
||
|
|
|
||
|
|
/** @type {Object[]} */
|
||
|
|
roles;
|
||
|
|
|
||
|
|
/** @type {String} */
|
||
|
|
premium_since;
|
||
|
|
|
||
|
|
/** @type {Boolean} */
|
||
|
|
pending;
|
||
|
|
|
||
|
|
/** @type {String} */
|
||
|
|
nick;
|
||
|
|
|
||
|
|
/** @type {Boolean} */
|
||
|
|
mute;
|
||
|
|
|
||
|
|
/** @type {Strnig} */
|
||
|
|
joined_at;
|
||
|
|
|
||
|
|
/** @type {Number} */
|
||
|
|
flags;
|
||
|
|
|
||
|
|
/** @type {Boolean} */
|
||
|
|
deaf;
|
||
|
|
|
||
|
|
/** @type {String} */
|
||
|
|
communication_disabled_until;
|
||
|
|
|
||
|
|
/** @type {String} */
|
||
|
|
avatar;
|
||
|
|
|
||
|
|
constructor(o) {
|
||
|
|
for (const k in this) {
|
||
|
|
if (o[k]) {
|
||
|
|
this[k] = o[k];
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
module.exports = member;
|