per-channel emote blacklist (hide individual emotes) feature - #1247
Open
BennyyyBB wants to merge 9 commits into
Open
per-channel emote blacklist (hide individual emotes) feature#1247BennyyyBB wants to merge 9 commits into
BennyyyBB wants to merge 9 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I recently saw a users message in the 7TV discord help channel asking for a feature that allows you to hide emotes in a specific twitch chat without having to deactivate the entire 7TV extension. A moderator answered that a feature like this doesn't really exist yet, there is only a way to fully hide an entire message, not only the emotes in it. Therefore I implemented a per-channel emote blacklist that hides specific emotes from chat without hiding the entire message.
Some channels add 7TV emotes to commonly used words, making chat unreadable, which was the point of the 7TV discord user asking for a way to hide them. Users should now be able to hide just the problematic emotes per channel.
chat.emote_blacklist_per_channelconfig as aMap<string, string[]>(channel key → emote names)hiddenEmotesinto the chat tokenizer (tokenize()) on both Twitch and YouTube moduleschat.emote_blacklist_per_channel.enabled-> The settings I changed for YouTube might need more adjustment to be fully integrated. Technically, we could also think about adding this feature for Kick.
Types of changes
Checklist