public class IrcConnection
extends org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
implements net.dv8tion.jda.core.hooks.EventListener
Modifier and Type | Field and Description |
---|---|
static int |
MESSAGE_DELAY_AMOUNT |
Constructor and Description |
---|
IrcConnection(IrcConnectInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
close(java.lang.String reason) |
java.lang.String |
getIdentifier() |
org.pircbotx.PircBotX |
getIrcBot() |
void |
onConnect(org.pircbotx.hooks.events.ConnectEvent<org.pircbotx.PircBotX> event) |
void |
onEvent(net.dv8tion.jda.core.events.Event event) |
void |
onJoin(org.pircbotx.hooks.events.JoinEvent<org.pircbotx.PircBotX> event) |
void |
onMessage(org.pircbotx.hooks.events.MessageEvent<org.pircbotx.PircBotX> event) |
void |
open() |
onAction, onChannelInfo, onDisconnect, onEvent, onFinger, onGenericChannel, onGenericChannelMode, onGenericChannelUser, onGenericCTCP, onGenericDCC, onGenericMessage, onGenericUser, onGenericUserMode, onHalfOp, onIncomingChatRequest, onIncomingFileTransfer, onInvite, onKick, onMode, onMotd, onNickAlreadyInUse, onNickChange, onNotice, onOp, onOwner, onPart, onPing, onPrivateMessage, onQuit, onRemoveChannelBan, onRemoveChannelKey, onRemoveChannelLimit, onRemoveInviteOnly, onRemoveModerated, onRemoveNoExternalMessages, onRemovePrivate, onRemoveSecret, onRemoveTopicProtection, onServerPing, onServerResponse, onSetChannelBan, onSetChannelKey, onSetChannelLimit, onSetInviteOnly, onSetModerated, onSetNoExternalMessages, onSetPrivate, onSetSecret, onSetTopicProtection, onSocketConnect, onSuperOp, onTime, onTopic, onUnknown, onUserList, onUserMode, onVersion, onVoice, onWhois
public static final int MESSAGE_DELAY_AMOUNT
public IrcConnection(IrcConnectInfo info)
public void open()
public void close(java.lang.String reason)
public java.lang.String getIdentifier()
public org.pircbotx.PircBotX getIrcBot()
public void onConnect(org.pircbotx.hooks.events.ConnectEvent<org.pircbotx.PircBotX> event)
onConnect
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onMessage(org.pircbotx.hooks.events.MessageEvent<org.pircbotx.PircBotX> event)
onMessage
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onJoin(org.pircbotx.hooks.events.JoinEvent<org.pircbotx.PircBotX> event)
onJoin
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onEvent(net.dv8tion.jda.core.events.Event event)
onEvent
in interface net.dv8tion.jda.core.hooks.EventListener