Not sure where else to ask something like this.
What are the available IRC commands for irc.twitch.tv?
I tried NAMES, MOTD, TOPIC etc but the server returns unknown command.
I want to get the count of viewers in the channel without using the API.
Not sure where else to ask something like this.
What are the available IRC commands for irc.twitch.tv?
I tried NAMES, MOTD, TOPIC etc but the server returns unknown command.
I want to get the count of viewers in the channel without using the API.
You can’t.
The available commands: NICK, PASS, PING, PRIVMSG, and JOIN.
you can count the number of users based on JOIN/PARTs but you’ll have to code it. it can’t be done with a command.
Keep in mind that the number of users in chat is not the same as the number of stream viewers.
As I solution I just decided to add users to a list on JOIN, PART or PRIVMSG, with checks in place to do it only once ofcourse.