small patches

This commit is contained in:
MathMan05 2024-09-03 11:12:26 -05:00
parent 66a13c3407
commit c890856ce3
7 changed files with 8 additions and 8 deletions

View file

@ -210,7 +210,7 @@ class Channel extends SnowFlake{
this.readbottom.bind(this)
);
}
constructor(json:channeljson|-1,owner:Guild,id:string=json===-1?undefined:json.id){
constructor(json:channeljson|-1,owner:Guild,id:string=json===-1?"":json.id){
super(id);
if(json===-1){
return;