fix JS files

This commit is contained in:
MathMan05 2024-07-01 13:52:17 -05:00
parent 3c0c7e6f4f
commit c2a77af323
12 changed files with 130 additions and 116 deletions

View file

@ -258,11 +258,11 @@ class Message {
build.appendChild(text);
if (this.attachments.length) {
console.log(this.attachments);
const attatch = document.createElement("tr");
const attach = document.createElement("tr");
for (const thing of this.attachments) {
attatch.appendChild(thing.getHTML());
attach.appendChild(thing.getHTML());
}
messagedwrap.appendChild(attatch);
messagedwrap.appendChild(attach);
}
if (this.embeds.length) {
const embeds = document.createElement("tr");