Files
DanDingNoneBot/README.md
2025-12-26 22:41:42 +08:00

62 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# danding-bot
基于:[NoneBot](https://nonebot.dev/)
## 食用步骤
- 需要安装的Python版本3.10.12建议使用Anaconda虚拟环境
- `conda create --name bot python=3.10.12`
- `pip install -r requirements.txt`
- `nb run`
## 创建插件
使用 `nb plugin create` 快速创建空插件
## 已经安装的包
## 已安装插件列表
### 1. nonebot_plugin_withdraw - 消息撤回
- 回复机器人指定的语句,发送撤回即可
### 2. nonebot_plugin_learning_chat - 群聊学习
> [项目链接](https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat)
- 功能启停:@Bot 开启学习\学说话\快学 \关闭学习\别学\闭嘴
- 禁用回复:@Bot 不可以\达咩\不能说这 [需回复机器人的发言]
- 后台管理:`http://127.0.0.1:8080/learning_chat/admin`
- 配置文件:`Bot目录/data/learing_chat/learning_chat.yml`
### 3. auto_recall - 消息自动撤回
- 自动监控所有发出的消息,在指定时间后撤回
- 默认配置110秒后自动撤回
### 4. chatai - AI聊天
- 对接DeepSeek的聊天AI服务
- 使用方式:发送以`*`开头的消息触发AI回复
- 支持切换AI模型目前仅支持deepseek
- AI回复会在100秒后自动撤回
### 5. damo_balance - 大漠账户余额查询
- 命令:`大漠余额``余额查询`
- 需要验证码验证
- 仅特定用户(ID:1424473282)可使用
### 6. danding_api - 蛋定助手管理API
- 提供管理员操作接口
- 主要命令:
- `在线人数`:查询当前在线用户数
- `添加卡密`:添加指定类型的卡密
- `生成卡密`:生成新卡密
- `用户加时`:为指定用户增加使用时长
- 仅超级用户可用
### 7. danding_help - 帮助信息
- 主要命令:
- `帮助`:显示帮助菜单
- `下载`:显示下载信息
- `公益版`/`正式版`:显示版本信息
- `正式版御魂双开`:显示双开教程
- `正式版如何运行`:显示运行教程
- `正式版内测计划`:显示内测信息
- 仅在特定群(621016172)可用
注意:
- 该项目自带后台ui入口`http://127.0.0.1:8080/learning_chat/admin`
- 配置路径在:`Bot目录/data/learing_chat/learning_chat.yml`