mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
Started work on adding guilds
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user