remove some logging
This commit is contained in:
parent
8995d0f126
commit
d245b645f7
2 changed files with 0 additions and 4 deletions
|
@ -761,7 +761,6 @@ class Channel extends SnowFlake{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async getmessage(id: string): Promise<Message>{
|
async getmessage(id: string): Promise<Message>{
|
||||||
console.log("getting:"+id);
|
|
||||||
const message = this.messages.get(id);
|
const message = this.messages.get(id);
|
||||||
if(message){
|
if(message){
|
||||||
return message;
|
return message;
|
||||||
|
@ -771,7 +770,6 @@ class Channel extends SnowFlake{
|
||||||
{ headers: this.headers }
|
{ headers: this.headers }
|
||||||
);
|
);
|
||||||
const json = await gety.json();
|
const json = await gety.json();
|
||||||
console.log(json);
|
|
||||||
return new Message(json[0], this);
|
return new Message(json[0], this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,8 +49,6 @@ class File{
|
||||||
div.style.width = this.width + "px";
|
div.style.width = this.width + "px";
|
||||||
div.style.height = this.height + "px";
|
div.style.height = this.height + "px";
|
||||||
}
|
}
|
||||||
console.log(img);
|
|
||||||
console.log(this.width, this.height);
|
|
||||||
return div;
|
return div;
|
||||||
}else if(this.content_type.startsWith("video/")){
|
}else if(this.content_type.startsWith("video/")){
|
||||||
const video = document.createElement("video");
|
const video = document.createElement("video");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue