Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: New memory, store, middlewares, adapters classes
Using collection instances allows more consistent interfaces for start/load/shutdown of each collection. Also memory modules is now only "short-term" with new store module for persistent data. BREAKING CHANGE: All methods for interacting with memory, middleware and adpater collections are now on those class instances instead of the bot. e.g. `bot.get` is now `bot.memory.get`, `bot.hearMiddleware` is now `bot.middleware.hear`. fix #96
- Loading branch information
1 parent
67d267f
commit 2f2d584
Showing
14 changed files
with
587 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.