satori-python-adapter-onebot11 0.5.1__tar.gz → 0.5.2__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.
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/.mina/adapter_onebot11.toml +2 -1
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/PKG-INFO +2 -1
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/pyproject.toml +2 -1
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/forward.py +1 -1
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/reverse.py +1 -1
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/LICENSE +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/README.md +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/__init__.py +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/api.py +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/events/__init__.py +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/events/base.py +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/events/message.py +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/events/notice.py +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/events/request.py +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/message.py +0 -0
- {satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/src/satori/adapters/onebot11/utils.py +0 -0
|
@@ -3,7 +3,7 @@ raw-dependencies = ["satori-python-server<1.4.0,>= 1.3.7"]
|
|
|
3
3
|
|
|
4
4
|
[project]
|
|
5
5
|
name = "satori-python-adapter-onebot11"
|
|
6
|
-
version = "0.5.
|
|
6
|
+
version = "0.5.2"
|
|
7
7
|
authors = [
|
|
8
8
|
{name = "RF-Tar-Railt", email = "rf_tar_railt@qq.com"}
|
|
9
9
|
]
|
|
@@ -21,6 +21,7 @@ classifiers = [
|
|
|
21
21
|
"Programming Language :: Python :: 3.12",
|
|
22
22
|
"Programming Language :: Python :: 3.13",
|
|
23
23
|
"Programming Language :: Python :: 3.14",
|
|
24
|
+
"Programming Language :: Python :: 3.15",
|
|
24
25
|
"Operating System :: OS Independent",
|
|
25
26
|
]
|
|
26
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: satori-python-adapter-onebot11
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Satori Protocol SDK for python, adapter for OneBot 11
|
|
5
5
|
Home-page: https://github.com/RF-Tar-Railt/satori-python
|
|
6
6
|
Author-Email: RF-Tar-Railt <rf_tar_railt@qq.com>
|
|
@@ -13,6 +13,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
16
17
|
Classifier: Operating System :: OS Independent
|
|
17
18
|
Project-URL: Homepage, https://github.com/RF-Tar-Railt/satori-python
|
|
18
19
|
Project-URL: Repository, https://github.com/RF-Tar-Railt/satori-python
|
{satori_python_adapter_onebot11-0.5.1 → satori_python_adapter_onebot11-0.5.2}/pyproject.toml
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "satori-python-adapter-onebot11"
|
|
3
|
-
version = "0.5.
|
|
3
|
+
version = "0.5.2"
|
|
4
4
|
authors = [
|
|
5
5
|
{ name = "RF-Tar-Railt", email = "rf_tar_railt@qq.com" },
|
|
6
6
|
]
|
|
@@ -19,6 +19,7 @@ classifiers = [
|
|
|
19
19
|
"Programming Language :: Python :: 3.12",
|
|
20
20
|
"Programming Language :: Python :: 3.13",
|
|
21
21
|
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Programming Language :: Python :: 3.15",
|
|
22
23
|
"Operating System :: OS Independent",
|
|
23
24
|
]
|
|
24
25
|
|
|
@@ -57,7 +57,7 @@ class OneBot11ForwardAdapter(BaseAdapter[OneBot11ForwardConfig]):
|
|
|
57
57
|
apply(self, lambda _: self, lambda _: self.logins[_])
|
|
58
58
|
|
|
59
59
|
def ensure(self, platform: str, self_id: str) -> bool:
|
|
60
|
-
return platform == "
|
|
60
|
+
return platform == "qq-client" and self_id in self.logins
|
|
61
61
|
|
|
62
62
|
async def get_logins(self) -> list[Login]:
|
|
63
63
|
logins = list(self.logins.values())
|
|
@@ -164,7 +164,7 @@ class OneBot11ReverseAdapter(BaseAdapter[OneBot11ReverseConfig]):
|
|
|
164
164
|
apply(self, lambda _: self.connections[_], lambda _: self.logins[_])
|
|
165
165
|
|
|
166
166
|
def ensure(self, platform: str, self_id: str) -> bool:
|
|
167
|
-
return platform == "
|
|
167
|
+
return platform == "qq-client" and self_id in self.logins
|
|
168
168
|
|
|
169
169
|
async def get_logins(self) -> list[Login]:
|
|
170
170
|
logins = list(self.logins.values())
|
|
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
|
|
File without changes
|
|
File without changes
|