BenDMyers / showmy.chat

On-demand themed Twitch chat overlay generator

Home Page:https://showmy.chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration for turning off animated emotes

BenDMyers opened this issue · comments

Need

This is probably low priority? But I figure some folks might find animated emotes distracting or otherwise unwanted, and may want to be able to turn off the animation. We should provide streamers with a query parameter that can be used to turn off the animation.

Helpful Links

  • #11 — pull request which introduced support for animated emotes within showmy.chat
  • simple-tmi-emotes — npm package which parses a message and returns emotes (has configs for static vs animated that we can look at)
  • Twitch emote docs

Suggested API

Default presentation should be to show animated emotes as animated, rather than static. Users may see animated emote support as part of a complete feature set for showmy.chat, and so I would expect folks to opt out of support rather than opt in.

I'm thinking the query parameter should be disableAnimatedEmotes=true. This way, the behavior of the false mode (disableAnimatedEmotes=false) can match the behavior of the undefined mode (leaving the parameter off). I'm open to alternatives, though.