OneBotConnecter 0.3.15__tar.gz → 0.3.16__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.15
3
+ Version: 0.3.16
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.15"
7
+ version = "0.3.16"
8
8
  authors = [
9
9
  { name="Sugar51243", email="1733682365@qq.com" },
10
10
  ]
@@ -116,7 +116,7 @@ class OneBot:
116
116
  if callback == None:
117
117
  print(f"地址{self._uri}连接中断")
118
118
  print("正在尝试重连")
119
- await self.run(on_message = on_message, sleep_time = sleep_time)
119
+ await self.non_async_run(on_message = on_message)
120
120
  return
121
121
  print(f"机器人账号: {self.botAcc}")
122
122
  print(f"机器人名称: {self.botName}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OneBotConnecter
3
- Version: 0.3.15
3
+ Version: 0.3.16
4
4
  Summary: 基于websocket(服务器正向)连接的onebot11通用python接口
5
5
  Author-email: Sugar51243 <1733682365@qq.com>
6
6
  License: MIT License