-
Notifications
You must be signed in to change notification settings - Fork 1
Allow editing a command to re-run it #47
Copy link
Copy link
Open
Labels
Milestone
Description
When a command is executed
- Add it's message ID to a cache, and it's response ID to a cache, as well as the epoch milli when it was executed
- Everything is supposed to return a message ID but not always - maybe allow -1 as a default to skip?
- Have an edit message register to check for caches
- After 30 seconds, remove from the cache on a timer. Should this be locked on a mutex? I don't want to block commands but checking a map for an entry is fast.
- I feel like executing a command should also force a 30 second check
Reactions are currently unavailable