package com.mjoell.twitchchatcounter;

public class TwitchConnect {
	private static IRCBot bot = new IRCBot();
	
	public static void main() throws Exception {
		if(TwitchChatCounter.verbose) {
			bot.setVerbose(true);
		} else {
			bot.setVerbose(false);
		}
		bot.connect("irc.twitch.tv", 6667, TwitchChatCounter.password);
		System.out.println("Connected to irc.twitch.tv");
		
		for(int i = 0; i < TwitchChatCounter.channels.length; i++) {
			bot.joinChannel(TwitchChatCounter.channels[i]);
			System.out.println("Joined channel " + TwitchChatCounter.channels[i] + ".  Waiting 4 seconds before joining next.");
			Thread.sleep(4000);
		}
		
		System.out.println("Joined all channels.  Assuming you're not in verbose, this is the last you'll hear from us for a while.");
	}
}

@@ -455,16 +455,22 @@
 Channel(
+%22#%22 + 
 TwitchCh

remove need to include # in channel in config