https://github.com/fython/coriander-bot-rs
烧饼的 Telegram 群组机器人
https://github.com/fython/coriander-bot-rs
Last synced: 9 months ago
JSON representation
烧饼的 Telegram 群组机器人
- Host: GitHub
- URL: https://github.com/fython/coriander-bot-rs
- Owner: fython
- License: mit
- Created: 2024-02-25T06:43:57.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-07T08:19:38.000Z (over 1 year ago)
- Last Synced: 2025-03-01T00:38:59.436Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 80.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
coriander-bot-rs
======
烧饼 Telegram Bot 的重构版本
# 运行
1. 将项目克隆至本地
2. 设置环境变量 `TELOXIDE_TOKEN` 为 Telegram Bot Token
3. (可选) 设置环境变量 `TELOXIDE_PROXY` 为本地代理
4. 执行以下命令
```shell
cargo run --package coriander-bot-rs --bin coriander-bot-rs
```
# Feature list
- [x] 基本运行
- [x] 复读机
- [ ] 复读表情包
- [ ] 按群内全局记录时间判断是否复读(当前仅判断相同文本消息是否在指定间隔时间内出现,对于冷群略长时间的复读体验不好)
- [x] 清理链接追踪参数(`/clean_url`)
- [x] 支持回复文本消息批量清理追踪参数
- [ ] 支持在群组中自动清理链接追踪参数
- [ ] 其他特性
# Licenses
MIT License