mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2013
Posts: 61
E
Babel fish
OP Offline
Babel fish
E
Joined: Sep 2013
Posts: 61
Hey Chaps

I've got commands running on my bot, that auto regulate timeouts and bans, and when going to test the commands, they are no longer being recognised in mIRC. I've been getting a:

-tmi.twitch.tv:#eggfriedcheese- Unrecognised Command: /ban

This is when using .msg # .timeout $nick 1 | .msg # /timeout $nick 1 | .timeout $nick 1 | etc. All variations seem to now give the unrecognised command.

Does anyone know if this is due to an API change, or is there another way to now do this through IRC? Not in a position to re-code the bot in Python, but if this continues to happen, might not have much of a choice.

Thanks in Advance
Eggy


Twitch Live-Streamer:
Synth Riders
Beat Saber
www.twitch.tv/eggfriedcheese
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
Looks like they're giving users of IRC clients the short end of the stick, and have started deprecating all that stuff. Because, hey, why send a simple IRC command to ban someone when you can do the same thing with half a dozen lines of JSON code sent through a socket!

https://discuss.dev.twitch.tv/t/deprecation-of-chat-commands-through-irc/40486
https://dev.twitch.tv/docs/irc/chat-commands/

Joined: Sep 2013
Posts: 61
E
Babel fish
OP Offline
Babel fish
E
Joined: Sep 2013
Posts: 61
So, is there a simple way to now fix and resolve these commands through IRC, or is this something that's going to require a full re-code, because from my understanding, the way that bots are coded within mIRC, there's no way to save and score scopes for the new API, right?


Twitch Live-Streamer:
Synth Riders
Beat Saber
www.twitch.tv/eggfriedcheese

Link Copied to Clipboard