chore: 清理依赖和文档,优化消息事件类

- 移除不再使用的 psutil 依赖
- 删除文档中多余的进阶阅读部分
- 为消息事件类添加 ClassVar 类型导入并修复文件结尾格式
This commit is contained in:
2026-01-23 16:57:56 +08:00
parent 5342f9f5bd
commit ce76c67dd0
3 changed files with 2 additions and 9 deletions

View File

@@ -72,9 +72,3 @@ Bot 应该会回复你:“你好,[你的昵称]!”
* `args: str`: 如果命令有参数(比如 `/echo hello world``args` 就是 `hello world` 这部分字符串。
就这么简单,一个最基础的插件就写完了。
## 进阶阅读
- [指令处理](./command-handling.md): 了解如何处理参数、获取用户输入。
- [最佳实践](./best-practices.md): 学习如何编写更健壮、更高效的插件。
- [插件详解:/status 状态监控](./status-plugin.md): 深入了解内置的状态监控插件是如何实现的。