Notification support

Be warned, there's either a bug in the server or notification level setting isn't implemented on the server side
This commit is contained in:
MathMan05 2024-06-21 16:47:45 -05:00
parent 0d5e4fc94b
commit 31f3fef52d
5 changed files with 141 additions and 0 deletions

View file

@ -28,6 +28,10 @@ class localuser{
this.guilds.push(temp);
this.guildids[temp.id]=temp;
}
console.log(ready.d.user_guild_settings.entries)
for(const thing of ready.d.user_guild_settings.entries){
this.guildids[thing.guild_id].notisetting(thing);
}
for(const thing of ready.d.merged_members){
const temp=new member(thing[0]);
this.guildids[temp.guild_id].giveMember(temp);