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

Parse and store emote use in chat. #28

Open
MitchellHarrison opened this issue May 25, 2021 · 2 comments
Open

Parse and store emote use in chat. #28

MitchellHarrison opened this issue May 25, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MitchellHarrison
Copy link
Owner

I'd like to implement emote tracking into the bot. For both streamer-specific and twitch-wide emotes. This should be stored in a database table, but I'm unsure how to do it. Options are:

  • One row in the table per emote, and simply increment.
  • Add a column to the chat_messages table to list which emotes were used per message.

The former seems like I would be losing some granularity as far as who is using the emotes and which streams see the most emote use. But I'm unclear on the implementation of the latter. I would have to pass something like a list into a single column and that would make future analysis much more difficult and slower.

If anyone has insights, feel free to drop them!

@MitchellHarrison MitchellHarrison added enhancement New feature or request help wanted Extra attention is needed labels May 25, 2021
@MitchellHarrison MitchellHarrison self-assigned this May 25, 2021
@MitchellHarrison
Copy link
Owner Author

Found helpful reference here.

@MitchellHarrison
Copy link
Owner Author

The bot currently gets emote use by emote ID using Regex, but converting emote ID's to text/image is still in the works with #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant