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

@@ -94,6 +94,7 @@ class Guild{
if(json.stickers.length){
console.log(json.stickers,":3");
}
this.emojis = json.emojis;
this.owner=owner;
this.headers=this.owner.headers;
@@ -125,7 +126,7 @@ class Guild{
}
});
}
this.perminfo??={channels:{}};
for(const thing of json.channels){
const temp=new Channel(thing,this);
this.channels.push(temp);
@@ -139,6 +140,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;
}