I used to have a fully functional chatbot that I coded from scratch in c# .(don’t ask me why I’m reinventing the wheel and not using an existing library, I like to make things difficult for myself haha)
I stopped streaming for a while and only came back recently and noticed that the APIchanged a bunch and nothing was working anymore. I was able to fix everything, updated my old API calls and now almost everything works as it did before. The only thing I haven’t been able to fix is my bot’s connection to my channel.
What I mean by that is that, my entire code works as expected, the bot reacts to commands etc but when it sends messages in chat, it does so using my own account and not the one I created to write in chat.
I am connecting to IRC with the bot’s account “thecelestialwarden” but irc responds to my account and every time the bot writes in chat, it is through my own account. I have tried everything, even re-coded just the IRC connection and nothing else to make sure I didn’t change something by accident but I can’t figure out why the account can’t connect. Is there something I’m missing? I’ve searched for a really long time but I have no idea what I’m doing wrong…It’s probably something really easy and dumb but I’m really at a loss there
Here is a bit of code and the console results I get.
I am using the ip: irc.twitch.tv and the port: 6667