nonebot-adapter-qq 1.6.3__tar.gz → 1.6.4__tar.gz
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.
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/PKG-INFO +1 -1
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/bot.py +4 -4
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/pyproject.toml +1 -1
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/LICENSE +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/README.md +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/__init__.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/adapter.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/compat.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/config.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/event.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/exception.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/message.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/models/__init__.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/models/common.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/models/guild.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/models/payload.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/models/qq.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/permission.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/store.py +0 -0
- {nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/utils.py +0 -0
@@ -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
|
-
|
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
|
-
|
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())
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{nonebot_adapter_qq-1.6.3 → nonebot_adapter_qq-1.6.4}/nonebot/adapters/qq/models/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|