Comments (2)
@JellyBrick I tried that before but must've done it incorrectly. When I tried it again by a different method it works fine. Thanks
from twitch4j.
My solution (temporary fix)
private val eventManager = EventManager().apply {
registerEventHandler(SimpleEventHandler())
}
...
val twitchClientOne = buildTwitchClient()
val twitchClientTwo = buildTwitchClient()
eventManager.getEventHandler(SimpleEventHandler::class.java).onEvent(ChannelGoLiveEvent::class.java, eventHandler)
...
private fun buildTwitchClient(): TwitchClient {
TwitchClientBuilder.builder()
.withClientId(clientId)
.withClientSecret(clientSecret)
.withEnableHelix(true)
.withEventManager(eventManager)
.build()
}
from twitch4j.
Related Issues (20)
- FatJar in Maven repo
- ChannelMessageEvent event.reply() method HOT 1
- Refactor project with new solutions HOT 1
- Migration repository to Maven Central HOT 4
- I would like to consult active users in the chat HOT 1
- Warning in Parsing PubSub (ANON_SUB_GIFT) HOT 5
- HTTP Implementation for v2.X HOT 1
- TwitchClient close() doesn't shutdown scheduledThreadPoolExecutor HOT 2
- Missing Javadoc HOT 1
- Mod/unmod events are not parsed in pubsub HOT 2
- Extensions module should be migrated to helix
- Helix: "MutedSegments" is always null for getVideos HOT 1
- maxPerStreamSetting, maxPerUserPerStreamSetting and globalCooldownSetting are ignored in the Helix API HOT 1
- EventSubSubscriptionStatus cannot be deserialized HOT 4
- java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/Module HOT 6
- Chat should log a warning on token with missing chat:read scope HOT 8
- PubSub seems to fail to parse shoutout events HOT 1
- ChannelChangeGameEvent and ChannelChangeTitleEvent don't trigger HOT 2
- TMI Chatters - Not Found Exception HOT 1
- Not possible to listen for Channel Point Redeemed Events HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitch4j.