IRC Message Event
Description
The irc message received before it gets parsed and the real event gets dispatched.
Dependencies
Requires the TwitchChat Module to be enabled and active for the source channel. See TwitchChat.
Examples
Printing the RAW Message
- Java
- Kotlin
- Groovy
eventManager.onEvent(IRCMessageEvent.class, event -> {
System.out.println(event.getRawMessage());
});
eventManager.onEvent(IRCMessageEvent::class.java) { event ->
println(event.rawMessage);
}
eventManager.onEvent(IRCMessageEvent) { event ->
System.out.println event.rawMessage
}