Bot not detecting messages in chat
Opened this issue · 1 comments
Hi,
I've been troubleshooting this all day since discovering this project, but: my chatbot works great and is able to enter the chat, verbose log messages, and even send a message (if I put a sendMessage command inside the Bot class).
However, the bot does not detect any messages sent in chat (despite logging them). I've tested this by inserting a basic sendMessage command before the parseCommand, as follows:
public void onMessage(String channel, String sender, String login, String hostname, String message) {
sendMessage(channel,"Message detected");
parseCommand(message);
Yet despite repeated messages being sent in the chat (again, being logged in the console), this sendMessage never triggers - indicating the bot is not detecting messages.
With my fairly rudimentary programming knowledge, my guess is that this method is being inherited from PircBot and is not working with Twitch's IRC message formatting (which must've changed in the past couple years judging by this codebase's previous functionality).
Is there an easy fix here? I've tried a bunch of different options short of going into the PircBot source myself and attempting to fix it through brute force.
Hey,
I've just checked my setup of the code and it does work for me as intended (aka triggering a MIDI note when a certain string is send in chat)
I'm not the original programmer, but I might be able to help you with this as I modified the program a bunch or myself a couple years ago.
Just so I can see where you might be stuck, a couple questions:
What exactly are you trying to do with this program?
Did you follow the setup completely?
Is your overlaying issue that you're not getting a MIDI signal in your DAW?