Are there a reliable way to detect if someone is in the chat?
As mentioned earlier, the api seems to randomly leave people out, instead I tried to change it to log on to the chat instead and get the names list, but that too seems to be leaving people out.
:mikeydk.tmi.twitch.tv 353 mikeydk = #mikeydk :mikeydk
:mikeydk.tmi.twitch.tv 366 mikeydk #mikeydk :End of /NAMES list
then after some seconds,
nightbot joined #mikeydk.
:nightbot!nightbot@nightbot.tmi.twitch.tv JOIN #mikeydk
but nightbot had been there all the time.
When making it log in again and check, it returns what I expected it would have both times
:mikeydk.tmi.twitch.tv 353 mikeydk = #mikeydk :mikeydk nightbot
:mikeydk.tmi.twitch.tv 366 mikeydk #mikeydk :End of /NAMES list
It actually seems to be linked directly to the api also reporting wrong, not sure if it helps finding the problem. 