python-wechaty icon indicating copy to clipboard operation
python-wechaty copied to clipboard

🐛🐛 Bug Report: įž¤é‡Œæ‹ä¸€æ‹īŧŒä¸čƒŊæ•čŽˇå…ˇäŊ“č°æ“äŊœįš„

Open biofer opened this issue 2 years ago â€ĸ 1 comments

įž¤é‡Œæ‹ä¸€æ‹īŧŒä¸čƒŊæ•čŽˇå…ˇäŊ“č°æ“äŊœįš„

在įž¤é‡Œæ‹ä¸€æ‹īŧŒčŋ”å›žåŽ†å˛čŽ°åŊ•æ˜¯ä¸‹éĸã€‚æ˛Ąæœ‰čŋ”å›žå…ˇäŊ“č°æ“äŊœįš„。

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 image

biofer avatar Aug 14 '21 14:08 biofer

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.

wj-Mcat avatar Aug 19 '21 15:08 wj-Mcat