Skip to content

How to get PRIVMSG

Hello,

I'm using the 0.3 version and all I get from Twitch are the welcome messages and the ping but even when I joined a channel, I don't get any PRIVMSG (the messages the users on the channel are posting). I tried to println the raw messages and all but I'm not sure the lib get them.

Ok(Message { tags: [], prefix: Some({origin="tmi.twitch.tv"}), command: "001", params: ["bot", "Welcome, GLHF!"] })
Ok(Message { tags: [], prefix: Some({origin="tmi.twitch.tv"}), command: "002", params: ["bot", "Your host is tmi.twitch.tv"] })
Ok(Message { tags: [], prefix: Some({origin="tmi.twitch.tv"}), command: "003", params: ["bot", "This server is rather new"] })
Ok(Message { tags: [], prefix: Some({origin="tmi.twitch.tv"}), command: "004", params: ["bot", "-"] })
Ok(Message { tags: [], prefix: Some({origin="tmi.twitch.tv"}), command: "375", params: ["bot", "-"] })
Ok(Message { tags: [], prefix: Some({origin="tmi.twitch.tv"}), command: "372", params: ["bot", "You are in a maze of twisty passages, all alike."] })
Ok(Message { tags: [], prefix: Some({origin="tmi.twitch.tv"}), command: "376", params: ["bot", ">"] })
Ok(Message { tags: [], prefix: Some({origin="bot", user="bot", host="bot.tmi.twitch.tv"}), command: "JOIN", params: ["channelname"] })
Ok(Message { tags: [], prefix: Some({origin="bot.tmi.twitch.tv"}), command: "353", params: ["bot", "=", "username", "bot"] })
Ok(Message { tags: [], prefix: Some({origin="bot.tmi.twitch.tv"}), command: "366", params: ["bot", "username", "End of /NAMES list"] })

Are you able to get them?

Edit : I tried with weercd, an irc test server and I dot get PRIVMSG from it so it must either be something with the Twitch implementation or the JOIN message that don't join the channel.

Edited by Nerothos