Package org.pircbotx

Examples of org.pircbotx.PircBotX.joinChannel()


//            fis.close();
        }

        PircBotX bot = new RhqIrcBot(rhqBotListener);
        bot.connect(server);
        bot.joinChannel(channel.trim());
    }
   
    private static void setupTrustStore() {
        TrustManagerFactory trustManagerFactory;
        try {
View Full Code Here


        while (!connected) {
            Thread.sleep(60 * 1000L); // 1 minute
            try {
                PircBotX newBot = new RhqIrcBot(this);
                newBot.connect(this.server);
                newBot.joinChannel(this.channel);

                connected = true;
            } catch (Exception e) {
                System.err.println("Failed to reconnect to " + disconnectEvent.getBot().getServer() + " IRC server: "
                    + e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.