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