diff --git a/webpage/dirrect.js b/webpage/direct.js similarity index 99% rename from webpage/dirrect.js rename to webpage/direct.js index b11e7b3..68e7a85 100644 --- a/webpage/dirrect.js +++ b/webpage/direct.js @@ -1,4 +1,4 @@ -class dirrect extends guild{ +class direct extends guild{ constructor(JSON,owner){ super(-1); this.message_notifications=0; diff --git a/webpage/localuser.js b/webpage/localuser.js index a0da664..ca3c599 100644 --- a/webpage/localuser.js +++ b/webpage/localuser.js @@ -25,7 +25,7 @@ class localuser{ this.guildids[temp.id]=temp; } { - const temp=new dirrect(ready.d.private_channels,this); + const temp=new direct(ready.d.private_channels,this); this.guilds.push(temp); this.guildids[temp.id]=temp; } @@ -280,7 +280,7 @@ class localuser{ br.classList.add("lightbr"); serverlist.appendChild(br) for(const thing of this.guilds){ - if(thing instanceof dirrect){ + if(thing instanceof direct){ thing.unreaddms(); continue; }