markov_bot-1.0.4 is not a library.
markov-bot
A discord chat and music bot written in Rust
Deployment instructions
In the same folder as the executable you'll need to create a .env file with the environment variables DISCORD_TOKEN and APPLICATION_ID.
Example:
DISCORD_TOKEN=OPc7yOsdaGAEgegTU2.GakxzW23dh6g4G46GADKJBZs
APPLICATION_ID=973467367436746574
Optional dependencies
The bot will work without these dependencies but it's music functionality won't work.
- yt-dlp
- Opus
- FFmpeg
Linux instructions for installing the dependencies:
- yt-dlp -
apt install yt-dlp
on Ubuntu orpacman -S yt-dlp
on Arch Linux. - Opus -
apt install libopus-dev
on Ubuntu orpacman -S opus
on Arch Linux - FFmpeg -
apt install ffmpeg
on Ubuntu orpacman -S ffmpeg
on Arch Linux
Windows instructions for installing the dependencies:
- yt-dlp - Download from here and add it to your PATH system environment variable
- Opus - A prebuilt DLL is provided for you, you do not have to do anything.
- FFmpeg - Download from here and follow these instructions. You can test if it works by opening up the cmd and typing in
ffmpeg
.
After you've installed the dependencies and created a .env file with your discord token and application id you can run the bot.