- Get rust nightly via rustup.
- Clone the repository
- Setup the project to use rust nightly
rustup override add nightly
- Create a bot application at https://discordapp.com/developers/applications/me
- Create a
.env
file containing the general bot configuration:
DISCORD_BOT_TOKEN=<YOUR_BOT_TOKEN>
SERVER_WHITELIST=<YOUR_SERVER_ID>
CONFIG_DIRECTORY=<DIRECTORY_WHERE_BOT_CONFIGURATION_IS_STORED>
- Create a initial
config/<your_server_id>/config.toml
for your server configuration:
admins = ["YourName#Id"]
uploaders = ["YourName#Id"]
-
Compile and run the bot via
cargo run
-
Then message
!help
in a channel of your server where the bot is present.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.