Skip to content

Comments

Feat: Add $chatMessageTextOnly variable#2553

Merged
SReject merged 1 commit intocrowbartools:masterfrom
phroggster:tts-voice-emote-link-filtering
Jun 29, 2024
Merged

Feat: Add $chatMessageTextOnly variable#2553
SReject merged 1 commit intocrowbartools:masterfrom
phroggster:tts-voice-emote-link-filtering

Conversation

@phroggster
Copy link
Collaborator

Description of the Change

Adds a $chatMessageTextOnly variable to get solely the text component of Twitch chat messages. This will trim link (URLs), third-party-emote, emote, and cheer message subparts from $chatMessage, returning only the plain-text of the message concatenated with spaces. This is suitable for use as a variable for Text-To-Speech input, amongst others, trimming out noisy portions of messages.

Applicable Issues

#1640

Testing

Despite seemingly being unable to get fontawesome configured appropriately, and having a massively broken user interface in my development environment, verified that numerous messages containing various subsets of words, emotes, third-party emotes, URLs, and the like all were filtered out appropriately through Twitch chat.

This is ideally suitable for Text-To-Speech messages and the like.
It will filter out any URLs, and any emotes, so only the text from the
chat message remains.

I also have no clue how to properly get a firebot development
environment setup (darn you font awesome, what am I doing wrong?), but
it seems to be fully functional on twitch with every scenariou I could
throw at it.
@phroggster phroggster requested a review from ebiggz as a code owner May 9, 2024 00:15
@SReject SReject merged commit 3990d3a into crowbartools:master Jun 29, 2024
@SReject
Copy link
Collaborator

SReject commented Jun 29, 2024

PRs should be against v5 branch. not master branch

@phroggster phroggster deleted the tts-voice-emote-link-filtering branch July 6, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants