Replies: 1 comment
-
1.不一定要是 @bcc.receiver("FriendMessage")
def friend_message_listener():
print("收到一条好友消息") 2.这个问题还真的跟DIspatcher有关。。这个函数可以没有任何参数(比如上面这个)。也可以有任何参数,只不过需要对应Dispatcher来提供参数。否则会导致Requirement Crash。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这是文档中的示例:
我有几个问题:
async
的吗?Dispatcher
有关,但是Dispatcher
的文档我看不懂……Beta Was this translation helpful? Give feedback.
All reactions