XenotropicDev / TheOracle2

Complete Rework of TheOracle using new discord features
4 stars 2 forks source link

Components cannot change without generating a new discord message #18

Closed XenotropicDev closed 2 years ago

XenotropicDev commented 2 years ago

Currently if things change within a components ID all the bot users will need to remake their character to solve the issue.

My initial thought is that any breaking component ID changes should keep the old ID signature around for a while and convert the message to the new format if possible, or alert the user if not.

I'm not sure if there's some kind of framework that can be developed to help with this issue, but I wanted to post this as an issue so that others can discuss it, and I can have a place for any ideas I have regarding this topic.

For the time being this isn't a huge issue as the bot is still in an alpha phase, but as we get closer, and up to a release it will become a big issue as the bot user base grows.

rsek commented 2 years ago

here's one way i've handled it in XenotropicDev/TheOracle2#29:

Screen Shot 2022-01-24 at 4 14 22 PM

but that only really works if they're using the same parameters. i've brought it up before, but including it here for the sake of completeness: i think it'd be a good to move everything from action-name-param1-param2 to action-name:param1,param2 so that the delimiting characters are well-distinguished (see XenotropicDev/TheOracle#70)

some other ideas: