mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
51 lines
706 B
JavaScript
51 lines
706 B
JavaScript
class guildRole {
|
|
/** @type {Number} */
|
|
version;
|
|
|
|
/** @type {String} */
|
|
unicode_emoji;
|
|
|
|
/** @type {Object} */
|
|
tags;
|
|
|
|
/** @type {Number} */
|
|
position;
|
|
|
|
/** @type {String} */
|
|
permissions;
|
|
|
|
/** @type {String} */
|
|
name;
|
|
|
|
/** @type {Boolean} */
|
|
mentionable;
|
|
|
|
/** @type {Boolean} */
|
|
managed;
|
|
|
|
/** @type {String} */
|
|
id;
|
|
|
|
/** @type {String} */
|
|
icon;
|
|
|
|
/** @type {Boolean} */
|
|
hoist;
|
|
|
|
/** @type {Number} */
|
|
flags;
|
|
|
|
/** @type {Number} */
|
|
color;
|
|
|
|
constructor(o) {
|
|
for (const k in this) {
|
|
if (o[k]) {
|
|
this[k] = o[k];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
module.exports = guildRole; |