Crates.io | markov_bot |
lib.rs | markov_bot |
version | 1.0.4 |
source | src |
created_at | 2021-12-14 12:38:10.193344 |
updated_at | 2022-07-26 11:16:23.609042 |
description | A discord chat bot written in Rust |
homepage | |
repository | https://github.com/TheKroni/markov-bot |
max_upload_size | |
id | 497710 |
size | 161,334 |
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 DISCORD_TOKEN and APPLICATION_ID.
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.