fixed guild channels and interactions

This commit is contained in:
ION606
2023-04-02 09:49:47 -04:00
parent f1415a9840
commit 658b45feee
10 changed files with 445 additions and 22 deletions
+33
View File
@@ -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];
}
}
}
}