python-wechaty
python-wechaty copied to clipboard
đđ Bug Report: įž¤éæä¸æīŧä¸čŊæčˇå ˇäŊč°æäŊį
įž¤éæä¸æīŧä¸čŊæčˇå ˇäŊč°æäŊį
å¨įž¤éæä¸æīŧčŋååå˛čŽ°åŊæ¯ä¸éĸãæ˛Ąæčŋåå ˇäŊč°æäŊįã
Reproduce your problem
async def on_message(self, msg: Message):
from_contact = msg.talker()
text = msg.text()
room = msg.room()
if msg.type() == MessageType.MESSAGE_TYPE_RECALLED:
print(from_contact)
Error info
-
2021-08-14 22:27:45,973 - Wechaty - INFO - receive message <Message#message_type_recalled[đŖ Contact <>@đĨ Room <@chatroom - >]> Contact <> 2021-08-14 22:27:45,974 - wechaty.plugin - INFO - emit AutoReplyPlugin-plugin ... 2021-08-14 22:27:45,975 - RoomMatcher - INFO - RoomMatcher match(Room <@chatroom - >) 2021-08-14 22:27:45,975 - MessageMatcher - INFO - MessageMatcher match(Room <******@chatroom - >) 2021-08-14 22:27:45,975 - ContactMatcher - INFO - ContactMatcher match(Room <********@chatroom - >)
-
screen shot image
This will depend on the type of token you use. If the token protocol doesn't implement function, python-wechaty will not return the action data to developer.
And more, æä¸æ
is not the normal chatbot action in IM, and it should appear in wechaty system.