A lot of work, added some audio support and bot tags

This commit is contained in:
MathMan05 2024-06-19 13:40:05 -05:00
parent 921dbcf0dd
commit 457b3dde6c
10 changed files with 167 additions and 18 deletions

View file

@ -123,7 +123,12 @@ class cmessage{
username.innerText=this.author.username;
const userwrap=document.createElement("tr")
userwrap.appendChild(username)
if(this.author.bot){
const username=document.createElement("span");
username.classList.add("bot")
username.innerText="BOT";
userwrap.appendChild(username)
}
const time=document.createElement("span");
time.innerText=" "+formatTime(new Date(this.timestamp));
time.classList.add("timestamp")