botgo icon indicating copy to clipboard operation
botgo copied to clipboard

client 实例支持单独设置消息处理回调函数

Open peterq opened this issue 2 years ago • 0 comments

场景

单进程多机器人

问题

当前的事件回调存在了全局map里边,这样使得无法在单进程中运行多个机器人实例,因为他们无法使用不同的消息回调。

需求

需要一种方式可以为单个机器人实例设置消息回调函数

peterq avatar Jul 06 '22 14:07 peterq