【文件属性】:
文件名称:我的个人电报机器人生锈了
文件大小:19KB
文件格式:ZIP
更新时间:2021-06-28 19:39:54
perorustbot
perorustbot v0.1.2-dev描述我的个人电报机器人生锈了设置您的环境下载锈。使用@Botfather创建一个新机器人以获取格式为123456789:blablabla的令牌。将TELOXIDE_TOKEN环境变量初始化为您的令牌:
# Unix-like
$export TELOXIDE_TOKEN=< Your># Windows
$set TELOXIDE_TOKEN=< Your>确保你的 Rust 编译器是最新的:
# If you're using stable
$ rustup update stable
$ rustup overrideset stable# If you're using nightly
$ rustup update nightly
$ rustup overrideset nightly安装手动构建(推荐)
$ git clone https://github.com/PeroSar/perorustbot
$cd perorustbot
$# edit src/plugi
【文件预览】:
perorustbot-dev
----Cargo.lock(34KB)
----.github()
--------workflows()
----LICENSE(1KB)
----src()
--------main.rs(337B)
--------plugins()
----Cargo.toml(611B)
----.gitignore(8B)
----README.md(2KB)