forked from array-in-a-matrix/counter-bot
removed <br> html tag
This commit is contained in:
parent
0c2018298a
commit
9dfe08dcea
4
index.js
4
index.js
|
@ -29,11 +29,11 @@ const lbCommand = async (roomId, message) => {
|
|||
leaderboardString += `${message["sender"]}: ${count}\n`;
|
||||
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) => {
|
||||
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) => {
|
||||
|
|
Loading…
Reference in a new issue