Show received messages

This commit is contained in:
Changhua
2022-09-25 20:28:12 +08:00
parent d3e8d023fe
commit b8d1e3bafb

View File

@@ -16,6 +16,7 @@ class Robot(BaseRobot):
"""当接收到消息的时候,会调用本方法。如果不实现本方法,则打印原始消息。
"""
self.printRawMsg(msg) # 打印信息
# 如果在群里被 @,回复发信人:“收到你的消息了!” 并 @他
if self.isGroupChat(msg): # 是群消息
if self.isAt(msg): # 被@