mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
fixed guild channels and interactions
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
export default class user {
|
||||
/** @type {String} */
|
||||
id;
|
||||
|
||||
/** @type {String} */
|
||||
username;
|
||||
|
||||
/** @type {String} */
|
||||
global_name;
|
||||
|
||||
/** @type {String} */
|
||||
display_name;
|
||||
|
||||
/** @type {String} */
|
||||
avatar;
|
||||
|
||||
/** @type {String} */
|
||||
avatar_decoration;
|
||||
|
||||
/** @type {String} */
|
||||
discriminator;
|
||||
|
||||
/** @type {Number} */
|
||||
public_flags;
|
||||
|
||||
constructor(obj) {
|
||||
for (const k in this) {
|
||||
if (obj[k]) {
|
||||
this[k] = obj[k];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user