From a15fbd5f864b758a28774feb5fa01c69b6eb5023 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Mon, 14 Feb 2022 20:22:42 -0800 Subject: [PATCH] no and then --- www/boto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/boto.js b/www/boto.js index 785ad70..e473b8f 100644 --- a/www/boto.js +++ b/www/boto.js @@ -41,7 +41,7 @@ client.on('message', (wat, tags, message, self) => { usersElement.textContent = ''; users = {}; } - } else if (listeningForCount && message === '!vote' || message === 'vote') { + } else if (listeningForCount && message === '!vote') { users[tags.username] = true; // display current count page. countElement.textContent = Object.keys(users).length;