remember colasped catagories

This commit is contained in:
MathMan05 2024-09-02 17:59:27 -05:00
parent c2d657d889
commit a47772dd01
8 changed files with 91 additions and 8 deletions

View file

@ -117,6 +117,7 @@ class Guild {
}
});
}
this.perminfo ??= { channels: {} };
for (const thing of json.channels) {
const temp = new Channel(thing, this);
this.channels.push(temp);
@ -130,6 +131,12 @@ class Guild {
}
}
}
get perminfo() {
return this.localuser.perminfo.guilds[this.id];
}
set perminfo(e) {
this.localuser.perminfo.guilds[this.id] = e;
}
notisetting(settings) {
this.message_notifications = settings.message_notifications;
}