socket-bot/readme.md
2025-04-08 00:07:37 +08:00

51 lines
722 B
Markdown

# icalingua bot
这是一个基于 icalingua-bridge 的 bot
[插件市场(确信)](https://github.com/shenjackyuanjie/shenbot-plugins)
## 通用环境准备
- 安装 Python 3.8+
```powershell
# 你可以使用你自己的方法安装 Python
# 例如
choco install python
# 或者
scoop install python
# 又或者
uv venv
```
- 启动 icalingua 后端
```bash
# 用你自己的方法启动你的 icalingua-bridge
# 例如
docker start icalingua
docker-compose up -d
```
## 使用方法
- 准备一个 Python 环境
- 修改好配置文件
```powershell
Copy-Item config-temp.toml config.toml
```
- 编译
```powershell
cargo build --release
```
运行
```powershell
cargo run --release -- -c config.toml
```