mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-07 19:36:56 +08:00
✏️ fix typo in docs
This commit is contained in:
parent
f625c34269
commit
f3b77a7f60
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
在 `bot.py` 文件中添加以下行:
|
在 `bot.py` 文件中添加以下行:
|
||||||
|
|
||||||
```python{5}
|
```python{8}
|
||||||
import nonebot
|
import nonebot
|
||||||
from nonebot.adapters.cqhttp import Bot
|
from nonebot.adapters.cqhttp import Bot
|
||||||
|
|
||||||
@ -24,6 +24,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
目前, 内建插件仅支持 CQHTTP 的 Adapter
|
目前, 内建插件仅支持 CQHTTP 的 Adapter
|
||||||
|
|
||||||
如果您使用的是其他 Adapter, 请移步该 Adapter 相应的文档
|
如果您使用的是其他 Adapter, 请移步该 Adapter 相应的文档
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ class MessageSegment(BaseMessageSegment):
|
|||||||
|
|
||||||
class MessageChain(BaseMessage):
|
class MessageChain(BaseMessage):
|
||||||
"""
|
"""
|
||||||
Mirai 协议 Messaqge 适配
|
Mirai 协议 Message 适配
|
||||||
|
|
||||||
由于Mirai协议的Message实现较为特殊, 故使用MessageChain命名
|
由于Mirai协议的Message实现较为特殊, 故使用MessageChain命名
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user