remember colasped catagories
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user