You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Also moved requests to class instance, for consistent namespacing with other modules.
BREAKING CHANGE: Request methods now accessed from request instance instead of bot, like
`bot.request.get` instead of `bot.getRequest`
re #96
Memory functions exposed at the root bot level are too generic, like
get
,set
,unset
. They should be methods ofmemory
and operate on the memory instance self.That would also allow
get
to be repurposed forgetRequest
soget
andpost
can be request shortcuts instead.The text was updated successfully, but these errors were encountered: