Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

Bashore Technologies


Blog of Andrew Bashore. Featuring project updates, tutorials, code, tidbits and other jargon.

Requesting user lists on Twitch IRC

There have been many changes to Twitch's IRC interface over the last several weeks including IRCv3 tags and capabilities. The new capabilities allow for more granular control of specific IRC or Twitch features you receive in your IRC client or framework.

One of the largest changes in the removal of the user list (NAMES, JOIN, PART, and MODE commands) by default from IRC connections. If you require this information you will need to send an additional command to request that capability after connecting to the server:

CAP REQ :twitch.tv/membership  

This command should be sent after making the initial connection to the server and logging in but before joining any channels.

IRC Clients

mIRC

mIRC Options -> Connection -> Options -> Perform

Check Enable perform on connect, add a network for Twitch if it does not already exist, and then enter the following under Perform commands:

raw CAP REQ :twitch.tv/membership  

HexChat (XChat)

Add the command to the Connect commands tab within the server profile:

KVIrc

Add the following to the On Connect tab in the server details:

raw CAP REQ :twitch.tv/membership  

ZNC

You can use the Perform module to request the capability:

As a command:

/msg *perform add CAP REQ :twitch.tv/membership

or via the web interface:

Other clients

If you would like to contribute instructions for other clients, please let me know in the comments.



Discussions

comments powered by Disqus