mjfwebb / twitch-bot

Twitch Chat bot with overlays, custom commands, TTS, sounds, rewards, API integrations and more!
MIT License
29 stars 8 forks source link

Add listener for channel emote updates from FrankerFaceZ #85

Open mjfwebb opened 1 year ago

mjfwebb commented 1 year ago

When a user adds a new emote to their emote source listen to these updates and subsequently update the emotes loaded into the bot.

Reference: https://github.com/FrankerFaceZ/FrankerFaceZ/blob/master/src/socket.js

6lr61 commented 5 months ago

Do you mind if I work on this?

mjfwebb commented 5 months ago

@6lr61 please do!

6lr61 commented 5 months ago

I don't think they support third-party clients connecting at all... :cry:

The server expects a "hello" message with a FrankerFaceZ client version string with the format: ffz_major.minor.patch and a user id. (Which could be the hard coded anonymous user one, it's hard coded in the server code as well.)

mjfwebb commented 5 months ago

I don't think they support third-party clients connecting at all... 😢

The server expects a "hello" message with a FrankerFaceZ client version string with the format: ffz_major.minor.patch and a user id. (Which could be the hard coded anonymous user one, it's hard coded in the server code as well.)

Could we not use that hard-coded id?