Skip to main content

Channel - Change Game Event

Description

The ChannelChangeGameEvent is triggered when a monitored channel changes the game.

Dependencies

Requires the specific channels to be registered with the TwitchClient Helper. See TwitchClientHelper

Examples

Example 1

eventManager.onEvent(ChannelChangeGameEvent.class, event -> {
System.out.println("[" + event.getChannel().getName() + "] is now playing " + event.getGameId() + "!");
});