Compare commits

..

1 Commits

Author SHA1 Message Date
Felis2026 fe2fa5df23 🍻 publish plugin 今天是什么小猪(今日小猪)Plus (#4096) 2026-06-27 00:09:40 +08:00
3 changed files with 13 additions and 5 deletions
+12
View File
@@ -11080,4 +11080,16 @@
], ],
"is_official": false "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
},
] ]
+1 -1
View File
@@ -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:
-4
View File
@@ -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))