mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-06-26 19:42:38 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fe2fa5df23 |
@@ -11080,4 +11080,16 @@
|
||||
],
|
||||
"is_official": false
|
||||
},
|
||||
{
|
||||
"module_name": "nonebot_plugin_rollpig_plus",
|
||||
"project_link": "nonebot-plugin-rollpig-plus",
|
||||
"author_id": 89476718,
|
||||
"tags": [
|
||||
{
|
||||
"label": "pig",
|
||||
"color": "#f9cf06"
|
||||
}
|
||||
],
|
||||
"is_official": false
|
||||
},
|
||||
]
|
||||
|
||||
@@ -209,7 +209,7 @@ class WebSocket(abc.ABC):
|
||||
elif isinstance(data, bytes):
|
||||
await self.send_bytes(data)
|
||||
else:
|
||||
raise TypeError("WebSocket send method expects str or bytes!")
|
||||
raise TypeError("WebSocker send method expects str or bytes!")
|
||||
|
||||
@abc.abstractmethod
|
||||
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))
|
||||
|
||||
### 🐛 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))
|
||||
|
||||
Reference in New Issue
Block a user