Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyBot extends PircBot {
- public static void main(String[] args) throws Exception {
- // Now start our bot up.
- MyBot bot = new MyBot();
- // Enable debugging output.
- bot.setVerbose(true);
- // Connect to the IRC server.
- bot.connect("irc.badnik.net", 6667);
- }
- public MyBot() {
- this.setName("Lil-G|Bot");
- this.setMessageDelay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement