remember colasped catagories
This commit is contained in:
parent
c2d657d889
commit
a47772dd01
8 changed files with 91 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue