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

Commands Editor: Guard against commands with spaces #171

Open ObserverHerb opened 8 months ago

ObserverHerb commented 8 months ago

Don't allow commands with spaces in the name.

ObserverHerb commented 8 months ago

Also, filter them out on load in case someone went into the JSON file and manually added spaces in the name as a string with spaces is technically correct from a JSON format perspective, but not for Celeste.