remove a lot more unneeded logging
This commit is contained in:
parent
4154a917e1
commit
164aa48ea4
6 changed files with 0 additions and 10 deletions
|
@ -10,7 +10,6 @@ class Embed {
|
|||
this.type = this.getType(json);
|
||||
this.owner = owner;
|
||||
this.json = json;
|
||||
console.log(this);
|
||||
}
|
||||
getType(json) {
|
||||
const instances = getInstances();
|
||||
|
|
|
@ -59,7 +59,6 @@ class MarkDown {
|
|||
let element = document.createElement("span");
|
||||
let keepys = "";
|
||||
if (txt[i + 1] === "#") {
|
||||
console.log("test");
|
||||
if (txt[i + 2] === "#") {
|
||||
if (txt[i + 3] === "#" && txt[i + 4] === " ") {
|
||||
element = document.createElement("h3");
|
||||
|
@ -110,7 +109,6 @@ class MarkDown {
|
|||
}
|
||||
finally {
|
||||
i -= 1;
|
||||
console.log(txt[i]);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -129,7 +129,6 @@ class Message extends SnowFlake {
|
|||
else if (thing === "embeds") {
|
||||
this.embeds = [];
|
||||
for (const thing in messagejson.embeds) {
|
||||
console.log(thing, messagejson.embeds);
|
||||
this.embeds[thing] = new Embed(messagejson.embeds[thing], this);
|
||||
}
|
||||
continue;
|
||||
|
@ -444,7 +443,6 @@ class Message extends SnowFlake {
|
|||
messagedwrap.appendChild(attach);
|
||||
}
|
||||
if (this.embeds.length) {
|
||||
console.log(this.embeds);
|
||||
const embeds = document.createElement("div");
|
||||
embeds.classList.add("flexltr");
|
||||
for (const thing of this.embeds) {
|
||||
|
|
|
@ -13,7 +13,6 @@ class Embed{
|
|||
this.type=this.getType(json);
|
||||
this.owner=owner;
|
||||
this.json=json;
|
||||
console.log(this);
|
||||
}
|
||||
getType(json:embedjson){
|
||||
const instances=getInstances();
|
||||
|
|
|
@ -61,7 +61,6 @@ class MarkDown{
|
|||
let keepys="";
|
||||
|
||||
if(txt[i+1]==="#"){
|
||||
console.log("test");
|
||||
if(txt[i+2]==="#"){
|
||||
if(txt[i+3]==="#"&&txt[i+4]===" "){
|
||||
element=document.createElement("h3");
|
||||
|
@ -108,7 +107,6 @@ class MarkDown{
|
|||
span.append(element);
|
||||
}finally{
|
||||
i-=1;
|
||||
console.log(txt[i]);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -129,7 +129,6 @@ class Message extends SnowFlake{
|
|||
}else if(thing ==="embeds"){
|
||||
this.embeds=[];
|
||||
for(const thing in messagejson.embeds){
|
||||
console.log(thing,messagejson.embeds);
|
||||
this.embeds[thing]=new Embed(messagejson.embeds[thing],this);
|
||||
}
|
||||
continue;
|
||||
|
@ -438,7 +437,6 @@ class Message extends SnowFlake{
|
|||
messagedwrap.appendChild(attach);
|
||||
}
|
||||
if(this.embeds.length){
|
||||
console.log(this.embeds);
|
||||
const embeds = document.createElement("div");
|
||||
embeds.classList.add("flexltr");
|
||||
for(const thing of this.embeds){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue