Amazebot / bbot

An adaptable conversation engine for building bespoke bots.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor memory const as class, with helpers

timkinnane opened this issue · comments

Memory functions exposed at the root bot level are too generic, like get, set, unset. They should be methods of memory and operate on the memory instance self.

That would also allow get to be repurposed for getRequest so get and post can be request shortcuts instead.