reywechat 1.0.75__py3-none-any.whl → 1.0.76__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
reywechat/rreceive.py CHANGED
@@ -422,7 +422,7 @@ class WeChatMessage(WeChatBase):
422
422
 
423
423
  ## System.
424
424
  case 10000:
425
- self._cache['text'] = '[系统信息]'
425
+ self._cache['text'] = f'[系统消息] {self.data}'
426
426
 
427
427
  ## Pat.
428
428
  case 10002 if self.is_pat:
@@ -958,6 +958,11 @@ class WeChatMessage(WeChatBase):
958
958
  or (
959
959
  self.room is None
960
960
  and self.user is not None
961
+ and (
962
+ self.type in (1, 3, 34, 42, 43, 47, 48, 49, 50, 56, 10000)
963
+ or self.is_pat
964
+ or self.is_recall
965
+ )
961
966
  )
962
967
 
963
968
  ## Pat me.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reywechat
3
- Version: 1.0.75
3
+ Version: 1.0.76
4
4
  Summary: WeChat method set.
5
5
  Project-URL: homepage, https://github.com/reyxbo/reywechat/
6
6
  Author-email: Rey <reyxbo@163.com>
@@ -5,12 +5,12 @@ reywechat/rcache.py,sha256=5FIa8UB3VsLHT_EXHHmFP62a5AeS22anJCJXC8t4tWw,908
5
5
  reywechat/rclient.py,sha256=ayOtQ0CaF8ydXjirLdVed8FbpfdQVTKVSd0x4grs-pQ,22712
6
6
  reywechat/rdb.py,sha256=R3ZySPsLM5g0hChFBMxtG9MRZCZ433aMYa_LuggKK90,51010
7
7
  reywechat/rlog.py,sha256=TSA-_5pwlq0sUND2cnLDqXvdmAdMAkC7tXIz3WfJ7Xw,5259
8
- reywechat/rreceive.py,sha256=IiR6zDiEBKl_HHkpfZf0etwlNx_N4XOVX0V6ERjwh6A,50796
8
+ reywechat/rreceive.py,sha256=YvjunkwL-cV9dMVaJPtOr1pM43N1zWOQeTOQkjSDzjw,51006
9
9
  reywechat/rsend.py,sha256=BB42r24x37V1tb27HLhnB_2tILv-DW26F9QbhqiNes8,20101
10
10
  reywechat/rtrigger.py,sha256=c0peI208K2k2sOxtuszD8UMrhMrTGp0LMi_XE5ksJKg,4989
11
11
  reywechat/rwechat.py,sha256=g0pbprMPv_qWb_lGFrPDAWsJO4vPSIgFLkw0Y28CZUo,4751
12
12
  reywechat/data/client_api.dll,sha256=H9uj-x9Ztg0jFZK0yY6NsnyH5_119dQRFfoVVMidxRs,592384
13
- reywechat-1.0.75.dist-info/METADATA,sha256=fTpCHq03R6pH68hRGE2PFI39Ipz8Dikj7ZAt5O6E9D0,1551
14
- reywechat-1.0.75.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- reywechat-1.0.75.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
- reywechat-1.0.75.dist-info/RECORD,,
13
+ reywechat-1.0.76.dist-info/METADATA,sha256=zg1Wpt_XWTjYG06QjWewstgOp64nNQZDD4jF0l9LPlM,1551
14
+ reywechat-1.0.76.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ reywechat-1.0.76.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
16
+ reywechat-1.0.76.dist-info/RECORD,,