Firebot
Firebot copied to clipboard
[Tech Debt] - Twitch IRC
Tracking issue for switching from Twitch IRC to EventSub Chat.
IRC Functionality currently used by Firebot (with migration paths):
- Announcement (channel.chat.notification)
- Chat Message (channel.chat.message)
- VIP Check (channel.vip.add, channel.vip.remove and Helix Get VIPs on connect)
- Highlighted message check (channel.chat.message when message_type === channel_points_highlighted)
- First Time Chat check (no migration)
- Streamer Whispers (user.whisper.message)
- Bot Whispers (Create EventSub client for bot, then consume user.whisper.message)
- /me message (channel.chat.message when messageText is a formatted IRC action message)
- Resub (channel.chat.notification)
Upstream issues: twurple/twurple#646
Functionality not available in EventSub:
- Chat Message
- First Time Chatter tag
- Returning Chatter tag
Commit 900a6e7 migrates the following events from chat to EventSub:
- Message Deleted
- Community Sub Gift (also should resolve #2186 by utilizing new community gift ID field)
- Sub Gift
- Gift Paid Upgrade
- Prime Paid Upgrade
This does remove gift sub receiver total months subscribed field, as neither EventSub nor Helix provide this field that IRC previously provided. That means that the following variables are affected:
giftSubMonthsgiftReceiversrawGiftReceivers