This is my very first post here… so please be gently, lol.
I’m making an animated and interactive Twitchbot from scratch using Unity. I’m using sockets (I think - it’s TCPClient and StreamReader) as my client connection.
I can send and recieve standard message fine using the following format:
And this works fine! However, I’m having real trouble sending whispers. I’m connecting my second TCPClient instantiationg to “irc.chat.twitch.tv” using port 6667… but I’m unsure of what the format of a whisper message should be…
I’ve seen (in some posts on this forum) that I should use the following:
Is there a page that lists the specific criteria for sending and recieving whispers? I’ve only been using Unity since January (long term sick… so I got the time) but am finding it hard to find the information needed.
Also will the whisper servers send all standard messages as well? I ask because my whisper connection is getting said standard message as well… :s
Many thanks for reading this, I appreciate any advice you may have.
Whispers are managed on group chat servers and not the regular chat servers. I don’t think the move to AWS changed anything about this. So to utilize the whisper functionality, you need your second connection to connect to a group chat server.
Okay, so I’ve watching a bit more of HardlySober’s youtube video about TwitchBot whispers. And what you said @TrainerTimmy (and you clarified @Freddy) is becoming clear.
First of all it seems that I DON’T need to be connected to any particular server in general to receive whispers… I AM now connecting just ONE TCPClient to irc.chat.twitch.tv to be safe, but it worked on the standard connection.
Using the ourgoing format of the following allows me to send whispers:
Now it’s all making sense! Also, this means that I don’t need ANOTHER thread to run the whisper listener - just main animator thread and primary listener thread are needed now!
Many thanks to all for your input - couldn’t have worked it out without you!
Perhaps I’ll write a little ‘fellow noob guide’ to help others…
Im having the issue with recieving, and im under the impression that whispers were moved away from group chat servers, and it seems to me ive verified this with sending whispers while only having one connection. Perhaps you can help?? Receive chat whispers via mIRC