Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1012 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 1012 Bytes

Getting started

  1. Get rust nightly via rustup.
  2. Clone the repository
  3. Setup the project to use rust nightly rustup override add nightly
  4. Create a bot application at https://discordapp.com/developers/applications/me
  5. 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>
  1. Create a initial config/<your_server_id>/config.toml for your server configuration:
admins = ["YourName#Id"]
uploaders = ["YourName#Id"]
  1. Compile and run the bot via cargo run

  2. Then message !help in a channel of your server where the bot is present.

License

Licensed under either of