net.dv8tion.jda.core.hooks.EventListener
public class IrcConnection
extends org.pircbotx.hooks.ListenerAdapter
implements net.dv8tion.jda.core.hooks.EventListener
Modifier and Type | Field | Description |
---|---|---|
static int |
MESSAGE_DELAY_AMOUNT |
Constructor | Description |
---|---|
IrcConnection(IrcConnectInfo info) |
Modifier and Type | Method | Description |
---|---|---|
void |
close(java.lang.String reason) |
|
java.lang.String |
getIdentifier() |
|
org.pircbotx.PircBotX |
getIrcBot() |
|
void |
onConnect(org.pircbotx.hooks.events.ConnectEvent event) |
|
void |
onEvent(net.dv8tion.jda.core.events.Event event) |
|
void |
onJoin(org.pircbotx.hooks.events.JoinEvent event) |
|
void |
onMessage(org.pircbotx.hooks.events.MessageEvent event) |
|
void |
open() |
onAction, onBanList, onChannelInfo, onConnectAttemptFailed, onDisconnect, onEvent, onException, onFinger, onGenericChannel, onGenericChannelMode, onGenericChannelModeRecipient, onGenericChannelUser, onGenericCTCP, onGenericDCC, onGenericMessage, onGenericUser, onGenericUserMode, onHalfOp, onIncomingChatRequest, onIncomingFileTransfer, onInvite, onKick, onListenerException, onMode, onMotd, onNickAlreadyInUse, onNickChange, onNotice, onOp, onOutput, 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 event)
onConnect
in class org.pircbotx.hooks.ListenerAdapter
public void onMessage(org.pircbotx.hooks.events.MessageEvent event)
onMessage
in class org.pircbotx.hooks.ListenerAdapter
public void onJoin(org.pircbotx.hooks.events.JoinEvent event)
onJoin
in class org.pircbotx.hooks.ListenerAdapter
public void onEvent(net.dv8tion.jda.core.events.Event event)
onEvent
in interface net.dv8tion.jda.core.hooks.EventListener