ZeroKnight / ZeroBot

My personal IRC/Multi-protocol Bot created (and re-created) for education and amusement.
MIT License
1 stars 0 forks source link

Allow modules to save state between reloads #24

Open ZeroKnight opened 3 years ago

ZeroKnight commented 3 years ago

Provide an interface for modules to use that enables them to temporarily serialize arbitrary data that will be restored upon being reloaded. This would allow modules to maintain runtime state and values that aren't written to disk.

In particular, modules making use of "cooldowns" like Chat, Quote, and Magic 8-Ball would benefit from this.

Brainstorming