OneBotConnecter 0.4.3__tar.gz → 0.4.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OneBotConnecter
3
- Version: 0.4.3
3
+ Version: 0.4.4
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.4.03"
7
+ version = "0.4.04"
8
8
  authors = [
9
9
  { name="Sugar51243", email="1733682365@qq.com" },
10
10
  ]
@@ -272,13 +272,13 @@ class OneBot:
272
272
  "group_id": group_id,
273
273
  "message": data.to_dict()
274
274
  }
275
- callback = await self._sendToServer("send_group_msg", params)
275
+ callback = await self._sendToServer("send_group_forward_msg", params)
276
276
  elif not data.isGroup and user_id != None:
277
277
  params = {
278
278
  "user_id": user_id,
279
279
  "message": data.to_dict()
280
280
  }
281
- callback = await self._sendToServer("send_private_msg", params)
281
+ callback = await self._sendToServer("send_private_forward_msg", params)
282
282
  else: raise TypeError("Error input in send_forward_msg function.")
283
283
  return callback
284
284
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OneBotConnecter
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: 基于websocket(服务器正向)连接的onebot11通用python接口
5
5
  Author-email: Sugar51243 <1733682365@qq.com>
6
6
  License: MIT License
File without changes