Channel - Change Title Event
Description
The ChannelChangeTitleEvent is triggered when a monitored channel changes it's title.
Dependencies
Requires the specific channels to be registered with the TwitchClient Helper. See TwitchClientHelper
Examples
Example 1
- Java
- Kotlin
- Groovy
eventManager.onEvent(ChannelChangeTitleEvent.class, event -> {
System.out.println("[" + event.getChannel().getName() + "] changed his stream title to " + event.getTitle() + "!");
});
eventManager.onEvent(ChannelChangeTitleEvent::class.java) { event ->
println("[${event.channel.name}] changed his stream title to ${event.title}!")
}
eventManager.onEvent(ChannelChangeTitleEvent) { event ->
System.out.println "[${event.channel.name}] changed his stream title to ${event.title}!"
}