taxon: Remove embed if user didn't want that one
synrg opened this issue · 1 comments
Provide a way for the user to remove a taxon non-error response (i.e. since #27 was just closed, we don't need to worry about error responses).
The most obvious & consistent way to do this is via a cancel ❌ reaction button that appears until the menu times out, allowing the user to remove the taxon if it was not the one they wanted.
An implementation issue is the current menu()
tool does not allow us to create non-timed-out #️⃣ and other reactions by any registered member. Therefore, we don't even use menu()
. We would have to either use the unofficial "vendored" menu from Red, or wait for a new release of Red that makes the vendored menu official, or else devise our own solution.
An alternate implementation that might be worth considering is to remember every message ID of every command that resulted in a non-error response for a while. If the user deletes their command message within that period of time, then this could trigger the bot to delete the bot response. We could, for consistency, eventually implement ❌ reactions for taxon embeds, but defer implementing that part until Red comes up with an easy way to make our non-timed-out #️⃣, etc. compatible with timed-out ❌ reactions by just the user who issued the command.