udoprog / OxidizeBot

High performance Twitch bot in Rust
https://setbac.tv
Apache License 2.0
153 stars 22 forks source link

feature request: song requests with Bits #152

Closed chilledsheep closed 1 year ago

chilledsheep commented 1 year ago

would be nice to have the ability to do song requests with Bits on Twitch

udoprog commented 1 year ago

There is a module already for doing so, but it can't refund the bits in case the song could not be added for some reason (there was no API available at the time to do this).

https://github.com/udoprog/OxidizeBot/blob/main/bot/src/settings.yaml#L392

Note that it also needs pubsub/enabled to be set to true.

It works by using a custom redemption, setting up the name of the redemption in that configuration key.