hopefully fix undefined counts

This commit is contained in:
jjj333_p 2023-10-29 14:12:55 -04:00
parent 358961d790
commit 56e32226e3

View file

@ -33,7 +33,7 @@ const lbCommand = 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 ${parseInt(data.count[message["sender"]])} times!`)
};
const addCount = async (roomId, message) => {