Skip to content
This repository has been archived by the owner on Sep 26, 2018. It is now read-only.

Connect to Twitch

Leonardo Mariscal edited this page Apr 22, 2017 · 11 revisions
We will be using the code from previous Tutorials.

You should follow this syntax or It will not work. Connect the bot with TwitchBot#.connect(); Then start the bot.

		bot.connect();
		//Join Channels and Method Calling
		bot.start();

Complete Code:

package tk.cavariux.twitchirctest.Core;

import java.io.IOException;

import com.cavariux.twitchirc.Chat.Channel;

public class Main {

	public static void main(String[] args) {
		CavsBot bot = new CavsBot();
	        bot.connect();
		bot.start();
	}
}

Next Topic:

Join a Channel


Introduction


Medium Stuff


Extra

  • Automatic Messages
  • Custom Commands
  • Coins System

Clone this wiki locally