ttv-chat-bot icon indicating copy to clipboard operation
ttv-chat-bot copied to clipboard

Keep a record of how many times each sound effect is played

Open clarkio opened this issue 6 years ago • 5 comments

This issue is for a: (mark with an x)

  • [ ] bug report -> please search issues before submitting
  • [x] feature request
  • [ ] documentation issue or request
  • [ ] regression (a behavior that used to work and stopped in a new release)

Expected/desired behavior

use some kind of database to keep track of the count send a message when a user activates a sound effect that's never been played before send a message when a user activates a sound effect and hits a certain count milestone (such as played 100 times)

clarkio avatar Aug 16 '19 20:08 clarkio

As suggested by DaymeTV on Twitch, keep track of how many times incorrect sound effects are used.

Maybe when a sound effect command is misspelled it automatically plays a different sound effect in response (like an error horn or something)

clarkio avatar Aug 16 '19 20:08 clarkio

@clarkio - Looking at this. @MichaelJolley is using FaunaDB for his awesum.io app for DB storage. That may be an option here or something like CosmosDB if you want to keep it all in Azure.

ToeFrog avatar Oct 11 '19 22:10 ToeFrog

Link to Fauna to check out further: https://fauna.com/

clarkio avatar Oct 18 '19 18:10 clarkio

I'll give a 👍 for FaunaDB. @clarkio knows I'm very pro-Azure, and actually started with CosmosDB, but its pricing model is not very welcoming for smaller projects. Same can be done in FaunaDB for free and it was very easy to get rolling.

michaeljolley avatar Oct 19 '19 22:10 michaeljolley

Looked at FaunaDB. After reviewing and discussing in Discord i'm probably going to go with CosmosDB to keep it all in Azure. This can be expanded to include the other commands to keep track of how many times they are used as well as which !bulb color gets used the most, which was referenced in Issue #92 and it can also be used for Issue #93 .

ToeFrog avatar Nov 03 '19 12:11 ToeFrog