This repository was archived by the owner on Oct 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Improve the tag command #37
Copy link
Copy link
Open
Labels
Description
- PRIORITY: determine why creating a new tag via DM poisons the tag DB
- ensure the
TAGSfield doesn't get loaded lazily (possibly read it during command initialization?) - perhaps get the filename to supply to
tag::Config::newfrom the global config, instead of writing it directly? - perhaps take references instead of
Strings, etc. in theTag::newconstructor? - handle this failure case better
- make the
tag::Config::loadfunction async (or call it async inConfig::new) - make the
tag::Config::savefunction async (or call it async everywhere) - return a list of suggestions from the
Tags::get_tagmethod if the exact tag is not found - ensure that locks are performed once per call and maintained, to avoid issues as described here and here
- ensure that this, this, this and this retrieves the
GuildIdeven if it is not in the cache - clean the tag content here and here
- perhaps make tag insertion/modification by editing the DB in-place here (or use
put_taginstead?)
Reactions are currently unavailable