removed <br> html tag

This commit is contained in:
array-in-a-matrix 2023-10-25 22:22:17 -04:00
parent 0c2018298a
commit 9dfe08dcea

View file

@ -29,11 +29,11 @@ const lbCommand = async (roomId, message) => {
leaderboardString += `${message["sender"]}: ${count}\n`; leaderboardString += `${message["sender"]}: ${count}\n`;
if (i++ >= 9) break; if (i++ >= 9) break;
} }
client.sendHtmlNotice(roomId, `<h1>Leaderboard</h1><br><p>${leaderboardString}</p>`); client.sendHtmlNotice(roomId, `<h1>Leaderboard</h1><p>${leaderboardString}</p>`);
}; };
const countCommand = async (roomId, message) => { const countCommand = async (roomId, message) => {
client.replyNotice(roomId, message, `You said linux ${data.count[message["sender"]]} times`) client.replyNotice(roomId, message, `You said linux ${data.count[message["sender"]]} times!`)
}; };
const addCount = async (roomId, message) => { const addCount = async (roomId, message) => {