fixed typo
This commit is contained in:
parent
6d0c372cd7
commit
35eeb1ddc8
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
class dirrect extends guild{
|
||||
class direct extends guild{
|
||||
constructor(JSON,owner){
|
||||
super(-1);
|
||||
this.message_notifications=0;
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue