Understand while you are connecting to the TMI with an IRC client, it’s not IRC. It’s Twitch Messaging Interface (TMI).
running /quote CAP REQ :twitch.tv/membership or /raw CAP REQ :twitch.tv/membership
- Adds membership state event (NAMES, JOIN, PART, or MODE) functionality. By default we do not send this data to clients without this capability.
Notes:
- If there are greater than 1000 chatters in a room, NAMES will only return the list of OPs currently in the room
- Due to caching, events are not sent immediately to a channel. They are instead batched up and sent every 10 seconds.
- WHO is unsupported
- All elevated users are given OP. To determine a user’s actual elevation level, request the tags capability and parse the user-type tag
As per: https://github.com/justintv/Twitch-API/blob/master/IRC.md