Limnoria
Limnoria copied to clipboard
Poll plugin: add support for preserving polls across restarts
Should probably use unpreserve (nicer for human edits), pickle (more future-proof), or sqlite3 (middle ground). Or maybe pretty-printed JSON; it's uncommon in Limnoria but seems to be about as future-proof as pickle (if not more, considering changes in pickle formats), and still easily human-editable
relevant comment by @jlu5: JSON keys can't be tuples (currently, we use (irc.network, channel)
as key in the plugin)