Open oelna opened 3 years ago
The docs includes examples: https://dev.twitch.tv/docs/irc/tags#tags-provided-by-the-server.
Channel info: @emote-only=0;followers-only=-1;r9k=0;rituals=0;room-id=130747120;slow=0;subs-only=0 :tmi.twitch.tv ROOMSTATE #seyacat
Join: :justinfan29530!justinfan29530@justinfan29530.tmi.twitch.tv JOIN #seyacat
leave: :justinfan29530!justinfan29530@justinfan29530.tmi.twitch.tv PART #seyacat
raid to: :tmi.twitch.tv HOSTTARGET #seyacat :demiontus 4
message: @badge-info=subscriber/14;badges=moderator/1,subscriber/0;client-nonce=ef99b1d9f606cea809c1c4ec2989add4;color=#2E8B57;display-name=Presuntamente;emotes=;first-msg=0;flags=;id=e435cf16-7508-417f-a02e-1bb7fd067872;mod=1;room-id=194927077;subscriber=1;tmi-sent-ts=1638042827616;turbo=0;user-id=488234266;user-type=mod :presuntamente!presuntamente@presuntamente.tmi.twitch.tv PRIVMSG #seyacat :test
if contains "msg-id=raid" is a incoming raid. "emote-only=1" contains only emotes (no text). "bits=X" contains X bits. if contains "custom-reward-id" parameter is a reward, Rewards with no text message require PubSub
I would love if this repo had a text file with example strings of all the different messages that can occur in Twitch IRC.
My Chatbot crashes often when it encounters an event/message it can't correctly parse and in order to make it better I have started feeding it test strings. But the Twitch docs are spotty and I believe you mentioned in some Forum post you test your bots in a similar manner.
It would help me (and potentially others?) a lot, if you could host a few examples of common IRC messages here.
Example: regular message
Example: Notice sent when tww2 gifted a subscription to Mr_Woodchuck in forstycup’s channel