per guild profiles

This commit is contained in:
MathMan05
2024-12-11 21:07:59 -06:00
parent d573a06188
commit 8e7aea193c
7 changed files with 414 additions and 45 deletions

View File

@@ -342,6 +342,7 @@ class Guild extends SnowFlake{
}
});
}
this.perminfo ??= { channels: {} };
for(const thing of json.channels){
const temp = new Channel(thing, this);
@@ -436,9 +437,9 @@ class Guild extends SnowFlake{
calculateReorder(){
let position = -1;
const build: {
id: string;
position: number | undefined;
parent_id: string | undefined;
id: string;
position: number | undefined;
parent_id: string | undefined;
}[] = [];
for(const thing of this.headchannels){
const thisthing: {