public interface GenericEvent extends Comparable<Event>
Modifier and Type | Method and Description |
---|---|
<T extends PircBotX> |
getBot()
The
PircBotX instance that this event originally came from |
long |
getTimestamp()
The timestamp of when the event was created
|
void |
respond(String response)
Send a response using the underlying event's respond() method
|
compareTo
void respond(String response)
response
- The response to send<T extends PircBotX> T getBot()
PircBotX
instance that this event originally came fromPircBotX
instancelong getTimestamp()
System.currentTimeMillis()
Copyright © 2010–2020 Leon Blakey. All rights reserved.