nonebot-adapter-qq 1.6.3__py3-none-any.whl → 1.6.4__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.
@@ -1674,8 +1674,8 @@ class Bot(BaseBot):
1674
1674
  timestamp: Optional[Union[int, datetime]] = None,
1675
1675
  ) -> PostC2CMessagesReturn:
1676
1676
  # tmp fix. content must not be none if sending media
1677
- if media is not None and not content:
1678
- content = " "
1677
+ # if media is not None and not content:
1678
+ # content = " "
1679
1679
 
1680
1680
  if isinstance(timestamp, datetime):
1681
1681
  timestamp = int(timestamp.timestamp())
@@ -1778,8 +1778,8 @@ class Bot(BaseBot):
1778
1778
  timestamp: Optional[Union[int, datetime]] = None,
1779
1779
  ) -> PostGroupMessagesReturn:
1780
1780
  # tmp fix. content must not be none if sending media
1781
- if media is not None and not content:
1782
- content = " "
1781
+ # if media is not None and not content:
1782
+ # content = " "
1783
1783
 
1784
1784
  if isinstance(timestamp, datetime):
1785
1785
  timestamp = int(timestamp.timestamp())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: nonebot-adapter-qq
3
- Version: 1.6.3
3
+ Version: 1.6.4
4
4
  Summary: QQ adapter for nonebot2
5
5
  License: MIT
6
6
  Keywords: bot,qq,qqbot,qqguild
@@ -1,6 +1,6 @@
1
1
  nonebot/adapters/qq/__init__.py,sha256=aP8RG7Y_wCS8E30yLWOr4hSYyixer7C5LBnyqdjavjU,815
2
2
  nonebot/adapters/qq/adapter.py,sha256=OUuKhGUQ3TgVjkhzA7a39N-T73a7BgXin6WHeuRdjGw,21245
3
- nonebot/adapters/qq/bot.py,sha256=-_BpfgeKKaMCwcyxRFoz3ypIsPkyJyYnPVGdD7zV0Wc,62487
3
+ nonebot/adapters/qq/bot.py,sha256=yln5z1FUHHGhPRNtEy6T1gTC4nAXXeakj6OJEaTqhE0,62493
4
4
  nonebot/adapters/qq/compat.py,sha256=QBojrzvgK00k4SLC9GpKURphlvpAQcEdx3-fz8hw72o,767
5
5
  nonebot/adapters/qq/config.py,sha256=qerp2JvAa9IhyRs2zL_mrRd3wHwz_Y7sd7S4VxNarFs,1975
6
6
  nonebot/adapters/qq/event.py,sha256=7mA3NAUAKw5Jx1BKi73SEx1lXdWRg8CGQoPQmIHpP5M,18810
@@ -14,7 +14,7 @@ nonebot/adapters/qq/models/qq.py,sha256=PoMaFssKKAsaXkEG_50qBP-wDIU7qxRjriHVD07r
14
14
  nonebot/adapters/qq/permission.py,sha256=DlBamFoVNDBRazpju-EgWruvKgYiTPq-p2PK4lapXeg,989
15
15
  nonebot/adapters/qq/store.py,sha256=GKVbto6K7jI-oK9tSbw_xLxDiSA6Y9QnNQStKJU7mEY,868
16
16
  nonebot/adapters/qq/utils.py,sha256=z1PkoweAk-nbYPdLlZz3LPCusjuj2ZqlaWvE6M0xeb0,1538
17
- nonebot_adapter_qq-1.6.3.dist-info/LICENSE,sha256=4EZBnkZPQYBvtO2KFGaUQHTO8nZ26pGeaCFchdBq_AE,1064
18
- nonebot_adapter_qq-1.6.3.dist-info/METADATA,sha256=k379hYtRz2fUmgB5KwioWUz2i6KDh5lGWDubioLEW94,3395
19
- nonebot_adapter_qq-1.6.3.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
20
- nonebot_adapter_qq-1.6.3.dist-info/RECORD,,
17
+ nonebot_adapter_qq-1.6.4.dist-info/LICENSE,sha256=4EZBnkZPQYBvtO2KFGaUQHTO8nZ26pGeaCFchdBq_AE,1064
18
+ nonebot_adapter_qq-1.6.4.dist-info/METADATA,sha256=SiXZC3XTAF6nlSNxOqYq04YIswPUx61QPj1uKkf_uQo,3395
19
+ nonebot_adapter_qq-1.6.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
20
+ nonebot_adapter_qq-1.6.4.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.2
2
+ Generator: poetry-core 2.1.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any