Guest User

Untitled

a guest
Sep 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.40 KB | None | 0 0
  1. import org.pircbotx.PircBotX;
  2.  
  3. public class MyBot {
  4.         public static void main(String[] args) throws Exception {
  5.                 PircBotX bot = new PircBotX();
  6.                 bot.setName("Ray");
  7.                 bot.connect("irc.bornwithwings.co.uk");
  8.                 bot.joinChannel("#gay");
  9.         public void identify(String password) {
  10.             sendMessage("NickServ", "identify PASSWORD");
  11.         }
  12.     }
Add Comment
Please, Sign In to add comment