fixed typo

This commit is contained in:
MathMan05 2024-06-25 09:24:21 -05:00
parent 6d0c372cd7
commit 35eeb1ddc8
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
class dirrect extends guild{ class direct extends guild{
constructor(JSON,owner){ constructor(JSON,owner){
super(-1); super(-1);
this.message_notifications=0; this.message_notifications=0;

View file

@ -25,7 +25,7 @@ class localuser{
this.guildids[temp.id]=temp; 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.guilds.push(temp);
this.guildids[temp.id]=temp; this.guildids[temp.id]=temp;
} }
@ -280,7 +280,7 @@ class localuser{
br.classList.add("lightbr"); br.classList.add("lightbr");
serverlist.appendChild(br) serverlist.appendChild(br)
for(const thing of this.guilds){ for(const thing of this.guilds){
if(thing instanceof dirrect){ if(thing instanceof direct){
thing.unreaddms(); thing.unreaddms();
continue; continue;
} }