Slash command data is cleared or partially cleared fairly often. Some triggers for this are:
Changing slash command permissions (In Discord via the Integrations tab, or in Inventor). I’ve found that this sometimes clears the subcommand.
Changing the slash command option descriptions. They sometimes will just not save the changes. @piratecaribou said that the data is cleared when changing the trigger. (can you clarify that below?)
I’m going to mess around and try to find other occurrences of this issue.
If anyone else would like to chime in with other related issues, please do so here!
For example i had a command, wich i changed the trigger for, to a message listner, but the slash slash command stayed registered, cuasing many bugs. Once i had figured out what happend i deleted all the data from the slash slash command on the listner and the command de-registerd.
Those sound like completely different/unrelated issues.
I’ve just pushed an update that fixes this going forward, so changing triggers will remove the old slash command. This happened on the old site and the behavior just wasn’t ported over.
For the original issue, I have fixed the bug relating to the subcommand clearing on Inventor when Inventor options are changed - there was a mismatch on some API calls.
I cannot reproduce the issue of data clearing “In Discord via the Integrations tab” and this doesn’t make much sense based on how those changes work. I’m assuming that the data was lost via other means and happened to line-up with your changing via the integration tab. Once this update lands with the mismatched API calls fixed, let me know if you can continue to reproduce the issue with the integration tab and I’ll investigate further.
For Option Descriptions, they are saved in exactly the same way as Option Names, so I doubt there would be an isolated issue with just those. You might just want to make sure you click ‘off’ that field (since saving happens when the field is unfocused). Data saving should happen in the background regardless, but if you switch to another flow there could be a situation where that fails.
If you’re seeing any other instances of data being cleared, please let me know.