mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-06-27 03:52:46 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fe2fa5df23 |
@@ -11081,17 +11081,13 @@
|
|||||||
"is_official": false
|
"is_official": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"module_name": "nonebot_plugin_R6States",
|
"module_name": "nonebot_plugin_rollpig_plus",
|
||||||
"project_link": "nonebot-plugin-R6States",
|
"project_link": "nonebot-plugin-rollpig-plus",
|
||||||
"author_id": 82685282,
|
"author_id": 89476718,
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"label": "战绩",
|
"label": "pig",
|
||||||
"color": "#ea5252"
|
"color": "#f9cf06"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "彩六",
|
|
||||||
"color": "#ff3d2c"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"is_official": false
|
"is_official": false
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ class WebSocket(abc.ABC):
|
|||||||
elif isinstance(data, bytes):
|
elif isinstance(data, bytes):
|
||||||
await self.send_bytes(data)
|
await self.send_bytes(data)
|
||||||
else:
|
else:
|
||||||
raise TypeError("WebSocket send method expects str or bytes!")
|
raise TypeError("WebSocker send method expects str or bytes!")
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
async def send_text(self, data: str) -> None:
|
async def send_text(self, data: str) -> None:
|
||||||
|
|||||||
@@ -11,10 +11,6 @@ toc_max_heading_level: 2
|
|||||||
|
|
||||||
- Feature: WS 支持 ping interval/timeout 配置 [@StarHeartHunt](https://github.com/StarHeartHunt) ([#3964](https://github.com/nonebot/nonebot2/pull/3964))
|
- Feature: WS 支持 ping interval/timeout 配置 [@StarHeartHunt](https://github.com/StarHeartHunt) ([#3964](https://github.com/nonebot/nonebot2/pull/3964))
|
||||||
|
|
||||||
### 🐛 Bug 修复
|
|
||||||
|
|
||||||
- Fix: WebSocket 基类 typo [@MelodyYuuka](https://github.com/MelodyYuuka) ([#4095](https://github.com/nonebot/nonebot2/pull/4095))
|
|
||||||
|
|
||||||
### 📝 文档
|
### 📝 文档
|
||||||
|
|
||||||
- Docs: 添加 Matrix 适配器至 README [@elysia-best](https://github.com/elysia-best) ([#4045](https://github.com/nonebot/nonebot2/pull/4045))
|
- Docs: 添加 Matrix 适配器至 README [@elysia-best](https://github.com/elysia-best) ([#4045](https://github.com/nonebot/nonebot2/pull/4045))
|
||||||
|
|||||||
Reference in New Issue
Block a user