JOIN/PART changes, temporary and future

Anyone that is using the PIRCBOT API (http://www.jibble.org/pircbot.php), for any Bot you may have created (as i do for the project at code.google.com/p/twitch-bot-krashnburnz/), you can do the following to fix the issue:

You can Override the method in the PIRCBOT API onConnect as follows

@Override
protected void onConnect() {
	this.sendRawLine("CAP REQ :twitch.tv/membership");
}

This will request membership directly after the bot connects, before joining any channels and allow you to still receive JOIN, PART, and most importantly NAMES

1 Like