bf-discord-rbot

所属分类:自然语言处理
开发工具:Rust
文件大小:866KB
下载次数:0
上传日期:2023-04-13 17:00:36
上 传 者sh-1993
说明:  锈蚀中的不一致机器人
(discord bot in Rust)

文件列表:
.dockerignore (42, 2023-10-08)
.env.example (99, 2023-10-08)
.rustfmt.toml (12, 2023-10-08)
Cargo.lock (63231, 2023-10-08)
Cargo.toml (1155, 2023-10-08)
Dockerfile (924, 2023-10-08)
LICENSE (1072, 2023-10-08)
credentials.json (90, 2023-10-08)
diesel.toml (145, 2023-10-08)
doc (0, 2023-10-08)
doc\.lock (0, 2023-10-08)
doc\COPYRIGHT.txt (2310, 2023-10-08)
doc\FiraSans-LICENSE.txt (4530, 2023-10-08)
doc\FiraSans-Medium.woff (89883, 2023-10-08)
doc\FiraSans-Regular.woff (91946, 2023-10-08)
doc\Heuristica-Italic.woff (119956, 2023-10-08)
doc\Heuristica-LICENSE.txt (4699, 2023-10-08)
doc\LICENSE-APACHE.txt (10847, 2023-10-08)
doc\LICENSE-MIT.txt (1023, 2023-10-08)
doc\SourceCodePro-LICENSE.txt (4528, 2023-10-08)
doc\SourceCodePro-Regular.woff (55472, 2023-10-08)
doc\SourceCodePro-Semibold.woff (55360, 2023-10-08)
doc\SourceSerifPro-Bold.woff (48720, 2023-10-08)
doc\SourceSerifPro-LICENSE.txt (4522, 2023-10-08)
doc\SourceSerifPro-Regular.woff (49960, 2023-10-08)
doc\aliases.js (48, 2023-10-08)
doc\brush.svg (477, 2023-10-08)
doc\dark.css (7868, 2023-10-08)
doc\light.css (7626, 2023-10-08)
doc\main.js (45103, 2023-10-08)
doc\normalize.css (1995, 2023-10-08)
doc\rbot_discord (0, 2023-10-08)
doc\rbot_discord\CREDENTIALS_FILE.t.html (353, 2023-10-08)
... ...

A discord bot written in Rust This bot is personal and isn't meant to be used by others The documentation for this project is located at [doc/rbot-discord](https://github.com/blackfoot-makers/bf-discord-rbot/blob/master/doc/rbot_discord/index.html) To run this bot, just fill a new .env file at the root directory of the project with your information Run the diesel migrations and use cargo run. # Starting the project ## .env ```bash token= DATABASE_URL=postgres://:@localhost/discordbot ``` ## [Diesel](https://github.com/blackfoot-makers/bf-discord-rbot/blob/master/https://diesel.rs/) Install the diesel-cli with: `cargo install diesel_cli --no-default-features --features postgres` and run the migrations: `diesel migration run` ## Run `cargo run` # Deployement Build the docker image and start it as a service ```bash docker build . -t greefine/discord-rbot docker service create --network host --name discordbot greefine/discord-rbot ``` > Note: don't forget the .env before building !

近期下载者

相关文件


收藏者