Improve brain method modularity
timkinnane opened this issue · comments
Tim Kinnane commented
Refactor object filtering in .keep
as a single exported utility, something
like .convertForStorage
.
Add test for new method that state translates to plain object.
see https://github.com/Amazebot/bbot/blob/master/src/lib/brain.ts#L88