Started work on adding guilds

This commit is contained in:
ION606
2023-03-24 20:32:27 -04:00
parent 0e33185f16
commit e0ffe24eec
8 changed files with 321 additions and 3 deletions
+45
View File
@@ -0,0 +1,45 @@
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;