The Bot is a basic music bot for Discord written in Rust. If you want to use old, TypeScript implementation use old-typescript branch.
- Clone this repository:
$ git clone https://gitlab.com/Erenoit/discord-bot.git
- Add environmental variables (or use a .env file in project root):
- BOT_TOKEN: Your bot's token,
- BOT_PREFIX: Prefix you want to use with commands,
- BOT_SP_CLIENT_ID: Spotify client ID,
- BOT_SP_CLIENT_SECRET: Spotify client secret
cd
into repository and run the following commands:
$ cargo build --release
$ ./target/release/discord-bot