public void runBot() { ircBot = new IRCListener("hemuli", "hemppe", "irc.inet.fi"); ircBot.addChannel("#G6"); ircBot.Connect(); while (true) { ; } }
public void runBot() { if (ircBot == null) { ircBot = new IRCListener("irc.inet.fi", "hemuliSeta", "hemppuLiini"); ircBot.addChannel("#G6"); } helperClass.writeLog("Botti yhdistää", 0); ircBot.Connect(); while (true) { ; } }