Added message reply, embeds, and bot login capabilities

This commit is contained in:
ION606
2023-03-19 18:02:21 -04:00
parent 35b993b3fe
commit 9faf4a315e
9 changed files with 422 additions and 55 deletions
+37
View File
@@ -0,0 +1,37 @@
class msgAuthor {
/** @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];
}
}
}
}
module.exports = msgAuthor;