Firebot
Firebot copied to clipboard
Add Some Form of $isAnonymous Variable
The Current "Problem"
There's presently no way to use a conditional effect condition, nor $if[...] variable to determine if a bits cheer or community/gift sub event was given anonymously. There's presently two ways to work around this:
- Create two separate events for each of the three event types, and use anonymity event filters to differentiate.
- Doubles the amount of work required, but is largely easy copy & paste work, and future-safe.
- Bloats the events list, however.
- Add conditions based on the hard-coded anonymous user names ("ananonymouscheerer" and "ananonymousgifter").
- This approach is beleaguered by the simulation modal automatically inserting a conflicting username, and potentially subject to change at Twitch and/or Twurple's whims.
- It's also not readily visible which names should be used to check against without source code analysis.
Describe the solution you'd like
Add an $isAnonymous variable for these three events returning a boolean value, and correct the hard-coded simulate modal's anonymous username.
Additional context
I helped a streamer that wanted to add some Firebot currency for cheer and community/gift sub events, yet have an identical alert/chat appearance regardless. We were effectively forced to use one of the two sub-optimal solutions noted above.