@ShadowWizard I think I have found it: glitch.com/edit/#!/mse-so-se-chatbot?path=bots/index.js:72:3 that code first loops over the received events on the websocket and creates an array for unique userid's because later on I will call /users/info to get the complete userinfo record. If I receive multiple events for the same user, those get then only counted once.
Not sure though why I need that there ... :(
Ah, wait. in an earlier version the users/info call was there but has been moved
So I no longer need that code at all ... I just need to handle each event ...