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

🐛🐛 Bug Report: ContactPayload has no friends fields

Open me-v2 opened this issue 3 years ago • 1 comments

  def is_friend(self) -> Optional[bool]:
        """
        Check if contact is friend

        False for not friend of the bot, null for unknown.
        """
        if not self.payload or not self.payload.friend:
            return None
        return self.payload.friends

建议 多谢一些单元测试,

me-v2 avatar Mar 18 '22 06:03 me-v2

Thanks for your good suggestion, there are limit contributors and energy for the opensource project. But we are trying our best to improve the quality of the project.

wj-Mcat avatar Apr 02 '22 11:04 wj-Mcat