XeroxDev / Loupedeck-plugin-StreamerBot

With this plugin you can execute actions on your Streamer.bot application.
MIT License
0 stars 2 forks source link

refactor(actions): Refactored the `GetActions` model and class tweaks #2

Closed steinerd closed 2 years ago

steinerd commented 2 years ago

Refactored the GetActions model to use an init array so that is always returns an empty array and not a null or an empty array, minimizing the number of inline null-checks needed.

Also, tweaked the Group property to presume an empty string means "Group of 'None'", which corresponds better with the Streamer.bot software grouping mech.