ObserverHerb / Celeste

A Twitch bot written in C++/Qt with a focus on multimedia and native performance
GNU General Public License v3.0
6 stars 0 forks source link

Parse commands from EventSub events #82

Closed ObserverHerb closed 7 months ago

ObserverHerb commented 1 year ago

Subscriptions don't process commands, such as !lady.

ObserverHerb commented 7 months ago

As I'm working on this I'm realizing, it kind of doesn't make sense to be able to do this. Because of the nature of some commands, they're not compatible with being launched from events. How do we know what emotes came through (thought Twitch seems to be working on this - see resub notifications)? How do we handle privilege levels (is the viewer a moderator)? Does a command that consumes a message really take the same kind of message that a prompt for a resub or cheer takes? Probably not.

ObserverHerb commented 7 months ago

Going to give this one more shot. Still not sure how I'm going to do it or what the requirements are once it ends up in the slot on the Bot side, but we'll try.

ObserverHerb commented 7 months ago

Made more sense when I drew it up and saw what should be handled in EventSub class vs. Bot class. Closing as completed.