!7 lib 1400128 // twitch4j import com.github.twitch4j.*; p-exp { S token = trimLoadTextFileMandatory(javaxSecretDir("twitch-oauth-token.txt")); TwitchClientBuilder clientBuilder = TwitchClientBuilder.builder(); OAuth2Credential credential = new("twitch", configuration.getCredentials().get("irc")); TwitchClient twitchClient = clientBuilder .withClientId(configuration.getApi().get("twitch_client_id")) .withClientSecret(configuration.getApi().get("twitch_client_secret")) .withEnableHelix(true) .withChatAccount(credential) .withEnableChat(true) //.withEnableGraphQL(true) //.withEnableKraken(true) .build(); }