Class TwitchConnectionHelper

java.lang.Object
io.github.icrazyblaze.twitchmod.bots.irc.TwitchConnectionHelper

public class TwitchConnectionHelper extends Object
This class is responsible for connecting the IRC bot, which is defined by the TwitchBot class. The tryConnect method will either connect the bot or reconnect if it is already connected.
  • Constructor Details

    • TwitchConnectionHelper

      public TwitchConnectionHelper()
  • Method Details

    • getBot

      public static org.pircbotx.PircBotX getBot()
    • login

      public static boolean login()
    • isConnected

      public static boolean isConnected()
    • disconnectBot

      public static void disconnectBot()