This repository has been archived by the owner on Sep 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Send Messages
Leonardo Mariscal edited this page Jun 18, 2015
·
4 revisions
You will need the object of the Bot. We will be doing this on the Main class.
bot.sendMessage("Hi, Im connected!", channel);
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();
Channel channel = bot.joinChannel("#channel");
bot.sendMessage("Hi, Im connected!", channel);
bot.start();
}
}
Lib Made by CavariuX. All rights Reserved © 2015 Twitch Interactive, Inc.
- Automatic Messages
- Custom Commands
- Coins System