adds support for role settings and various fixes

This commit is contained in:
MathMan05
2024-06-30 22:05:14 -05:00
parent 96b2dbb21c
commit 8fe0c9f46b
20 changed files with 1199 additions and 183 deletions

View File

@@ -5,7 +5,16 @@ class Role {
owner;
color;
id;
name;
info;
hoist;
icon;
mentionable;
unicode_emoji;
headers;
constructor(JSON, owner) {
this.headers = owner.headers;
this.info = owner.info;
for (const thing of Object.keys(JSON)) {
this[thing] = JSON[thing];
}