trying to send whispers to a user.
using the first ip in http://tmi.twitch.tv/servers?cluster=group
but the whisper still does not come thought to the user…
it connects to that fist ip fine, can send privmsg to desired user but not a whisper. also i do cap req membership.
*EDIT got it to atleast do an error. it throws the error /W not recognized
You do need to be connect to one of Twitch’s GroupChat servers to send/received whispers but you do not need to join a room/channel, you can simply send a PRIVMSG to jtv, using /w as the command:
PRIVMSG jtv :/w recipient message
recipient: the user to send the whisper to message: the message to send
And whispers recieved come in formatted as: @msgtags user!user@user.tmi.twitch.tv WHISPER self :message
@msgtags: only sent if you request IRCv3 message tags via CAP REQ :twitch.tv/tags user!user@user.tmi.twitch.tv: The user that sent the whisper self: the recipiant(you, your bot, etc) message: the whispered message
(@BarryCarlyon: I didn’t mean to reply to you; meant to reply to the original post, I apologize.)
i tried sending the command “PRIVMSG jtv :/w hurnhu test”
but all i get as a response is unrecognized command /w.
is connecting to any of the IP in the group channel list good? or does it have to be a web socket server one?