Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration for disallowing certain emotes #31

Open
BenDMyers opened this issue Dec 31, 2021 · 1 comment
Open

Configuration for disallowing certain emotes #31

BenDMyers opened this issue Dec 31, 2021 · 1 comment
Labels
low priority Issues that might be nice to provide, but aren't urgent, or are speculative overlay configuration Providing customizations via the overlay URL's query parameters

Comments

@BenDMyers
Copy link
Owner

BenDMyers commented Dec 31, 2021

Some streamers may not want to display certain emotes, especially if those emotes are against their channel or team's code of conduct or which might not be suitable for their demographic.

The first line of defense for most of these streamers should probably be adding those emotes' names to their channel's banned words list, but in the case that doing so would come off as too forceful, we should offer a second line of defense to ensure that a channel's disallowed emotes don't show up as their emote forms in their chat overlays.

Suggested API

We should support a disallowedEmotes query parameter for overlays that would take a comma-separated list of emote names and ensure that those emotes don't get rendered. For example, /c/BenDMyers?disallowedEmotes=somean3CoolTuna,somean3Howdy would prevent the somean3CoolTuna and somean3Howdy emotes from showing as their emote forms.

We could even support a disallowedEmotes=* option if streamers don't want any emotes to show.

What To Do With Disallowed Emotes

What does it mean to not render an emote? The way I see it, we have two options:

  1. Where the emote was meant to be, display nothing. It's as if the sender had never included the emote.
  2. Display the emote's name (e.g. display somean3CoolTuna in place of the Cool Tuna emote)

I think option 1 has some hidden complexity to it — for instance, what if the sender's message contains only disallowed emotes? Do we reject the message altogether? I don't think this is unsolvable by any stretch, but it might be simpler to go with option 2.

@BenDMyers BenDMyers added the overlay configuration Providing customizations via the overlay URL's query parameters label Dec 31, 2021
@BenDMyers
Copy link
Owner Author

Another thing to consider: what the interface for this should look like in the homepage's overlay URL builder.

@BenDMyers BenDMyers added the low priority Issues that might be nice to provide, but aren't urgent, or are speculative label Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority Issues that might be nice to provide, but aren't urgent, or are speculative overlay configuration Providing customizations via the overlay URL's query parameters
Projects
None yet
Development

No branches or pull requests

1 participant