Declare a bot factory. Returns the SAME function (typed and branded), so it can be default-exported for botmesh dev and called directly with a real provider for production.
botmesh dev
(provider) => Bot — build your bot around the given provider.
(provider) => Bot
when factory is not a function.
factory
Declare a bot factory. Returns the SAME function (typed and branded), so it can be default-exported for
botmesh devand called directly with a real provider for production.