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