A discord chat and music bot written in Rust
In the same folder as the executable you'll need to create a .env file with the environment variables DISCORDTOKEN and APPLICATIONID.
DISCORD_TOKEN=OPc7yOsdaGAEgegTU2.GakxzW23dh6g4G46GADKJBZs
APPLICATION_ID=973467367436746574
The bot will work without these dependencies but it's music functionality won't work.
apt install yt-dlp
on Ubuntu or pacman -S yt-dlp
on Arch Linux.apt install libopus-dev
on Ubuntu or pacman -S opus
on Arch Linuxapt install ffmpeg
on Ubuntu or pacman -S ffmpeg
on Arch Linuxffmpeg
.After you've installed the dependencies and created a .env file with your discord token and application id you can run the bot.