Closed Letal1s closed 2 years ago
I can't seem to reproduce it... Are you sure you get the channel name right? It i the only way I can cause the same situation to occur.
I think it is important to have the channel name in lower-case, for some reason. Could you verify?
Aha, putting the channel name in lower case seemed to have sorted it. Sorry about that!
You do raise a good point of friction though. I'll make sure to cast the channel name to lower-case automatically in the next version!
When trying to use the onAnything event, the event is only ran when previous old messages are loaded in on application start. Any messages that are sent after twirk has connected don't go through.
Whispers seem to be picked up fine when using onPrivMsg, it just doesn't pick up general chats.
This is the code I currently have:
I get a bunch of "Message received." logs when the application starts, but no more logs when new messages are sent in chat. I've also noticed that messages sent using twirk.channelMessage() don't show up on my page until chat is refreshed. Has something changed in Twitch recently or could it be something to do with my bot account like a setting that needs to be changed?
This happens when using the latest from the repo, not a JAR release.
Thanks.