mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-06-06 00:07:01 +00:00
Started work on adding guilds
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user