📝 更新README,添加文档

This commit is contained in:
CMHopeSunshine 2022-09-12 19:22:46 +08:00
parent 38ba1da4d0
commit 5e0f207385
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,7 @@ async def chat_rule(event: GroupMessageEvent, state: T_State) -> bool:
return False
if event.user_id in config_manager.config.ban_users:
return False
if not event.raw_message:
if not event.raw_message or event.raw_message.startswith('['):
return False
if any(w in event.raw_message for w in config_manager.config.ban_words):
return False

View File

@ -58,10 +58,12 @@
<img src="https://static.cherishmoon.fun/LittlePaimon/readme/myzj.jpg" alt="myzj">
</details>
## 丨文档
[小派蒙文档](https://docs.paimon.cherishmoon.fun/) (文档编写中)
## 丨安装方法
> 详细教程可看[博客链接](https://blog.cherishmoon.fun/posts/nonebot2deploy.html)
> 详细教程请看文档
- 1、安装poetry`pip install poetry`
- 2、克隆本分支`git clone https://github.com/CMHopeSunshine/LittlePaimon --depth=1`