OneBotConnecter 0.3.9__tar.gz → 0.3.10__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OneBotConnecter
3
- Version: 0.3.9
3
+ Version: 0.3.10
4
4
  Summary: 基于websocket(服务器正向)连接的onebot11通用python接口
5
5
  Author-email: Sugar51243 <1733682365@qq.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "OneBotConnecter"
7
- version = "0.3.09"
7
+ version = "0.3.10"
8
8
  authors = [
9
9
  { name="Sugar51243", email="1733682365@qq.com" },
10
10
  ]
@@ -167,9 +167,10 @@ class OneBot:
167
167
  print(f"数据包发送: {datapack}", needPrint=self.testMode)
168
168
  #收集处理结果
169
169
  message = None
170
- print(f"中断信息收集", needPrint=self.testMode)
171
- self.get_message = False
172
170
  while True:
171
+ if self.get_message:
172
+ print(f"中断信息收集", needPrint=self.testMode)
173
+ self.get_message = False
173
174
  #因为处理可能会有延迟,需要识别从接口收取的信息
174
175
  try:
175
176
  #从接口收取信息
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OneBotConnecter
3
- Version: 0.3.9
3
+ Version: 0.3.10
4
4
  Summary: 基于websocket(服务器正向)连接的onebot11通用python接口
5
5
  Author-email: Sugar51243 <1733682365@qq.com>
6
6
  License: MIT License