stobot
所属分类:自然语言处理
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2024-04-03 15:45:06
上 传 者:
sh-1993
说明: 一个不和谐的机器人,在《星际迷航》在线新闻发布时获取新闻。
(A Discord bot that fetches Star Trek Online news as they come out.)
文件列表:
src/
.dockerignore
Cargo.toml
Dockerfile
Dockerfile_alpine
Dockerfile_arm64v8
Dockerfile_arm64v8_alpine
LICENSE
# STOBot
A Discord bot that fetches Star Trek Online news as they come out.
## Build instructions
1. Install Rust: https://www.rust-lang.org/learn/get-started
2. Install other dependencies
* On Debian/Ubuntu: `sudo apt install gcc libc6-dev`
* On Fedora: `sudo dnf install gcc`
3. Run `cargo install --path .`
## Run instructions
1. Set the `DISCORD_TOKEN` environment variable to your Discord bot's token
2. Run `stobot`
* Run with `--help` to see available arguments
3. In your desired channel, type this: `!stobot`
* The bot should respond to this, and then you'll receive future news in that channel.
* To stop the bot posting there, type `!unstobot`
近期下载者:
相关文件:
收藏者: