no and then

This commit is contained in:
Sarimoko 2022-02-14 20:22:42 -08:00
parent 1002e92f62
commit a15fbd5f86
1 changed files with 1 additions and 1 deletions

View File

@ -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;