Advertisement
lilggamegenuis

Untitled

Sep 4th, 2015
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. public class MyBot extends PircBot {
  2.  
  3.     public static void main(String[] args) throws Exception {
  4.  
  5.         // Now start our bot up.
  6.         MyBot bot = new MyBot();
  7.  
  8.         // Enable debugging output.
  9.         bot.setVerbose(true);
  10.  
  11.         // Connect to the IRC server.
  12.         bot.connect("irc.badnik.net", 6667);   
  13.  
  14.     }
  15.  
  16.     public MyBot() {
  17.         this.setName("Lil-G|Bot");
  18.         this.setMessageDelay(1000);
  19.        
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement