megumin
所属分类:自然语言处理
开发工具:Rust
文件大小:17KB
下载次数:0
上传日期:2017-06-13 23:59:47
上 传 者:
sh-1993
说明: 使用宁静图书馆构建的通用不和谐机器人。在铁锈中编程,用爱制造。
(A general purpose discord bot built with the serenity library. Programmed in Rust and made with love.)
文件列表:
Cargo.lock (40396, 2017-06-14)
Cargo.toml (448, 2017-06-14)
LICENSE (1090, 2017-06-14)
src (0, 2017-06-14)
src\commands (0, 2017-06-14)
src\commands\admin.rs (1235, 2017-06-14)
src\commands\audio.rs (1424, 2017-06-14)
src\commands\general.rs (3143, 2017-06-14)
src\commands\mod.rs (63, 2017-06-14)
src\commands\weeb.rs (12589, 2017-06-14)
src\main.rs (4878, 2017-06-14)
src\util (0, 2017-06-14)
src\util\mod.rs (2234, 2017-06-14)
src\util\preferences.rs (1697, 2017-06-14)
src\util\settings.rs (352, 2017-06-14)
# Megumin
A general purpose discord bot built with the [serenity](https://github.com/zeyla/serenity) library. Programmed in Rust and made with love.
## Commands
| Weeb | Administration | General | Audio |
| :---: | :---: | :---: | :---: |
| anime | clearplaying | about | play |
| manga | setowner | help | stop |
| kitsuprofile | owner | info |
| | disown | | |
| | playing | | |
## Building
### Linux
#### Debug
* `git clone https://github.com/flat/megumin`
* `cargo build` or `cargo run`
#### Release
* `git clone https://github.com/flat/megumin`
* `cargo build --release` or `cargo run --release`
## Using
### Bot Token
Megumin only works as a bot user. To run an environment variable with the name `DISCORD_TOKEN` and the value of a bot token issued by the discord api is needed.
### Settings
Currently the only thing stored in the settings file is the bot owner's userid.
### Linux
`~/.config/megumin/bot-settings/owner.prefs.json`
近期下载者:
相关文件:
收藏者: