Amazebot / bbot

An adaptable conversation engine for building bespoke bots.
MIT License
55 stars 2 forks source link

Refactor memory const as class, with helpers #96

Closed timkinnane closed 5 years ago

timkinnane commented 6 years ago

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.