Blahaj: A blazingly fast Discord bot written in Rust. 🚀🚀.
Try it using nix:
nix shell github:isabelroses/blahaj
Or build manually:
git clone https://github.com/isabelroses/blahaj
cd blahaj
cargo build
Before starting the bot, create an appliction in the Discord Developer Portal.
In the appliction, go to the 'Bot' tab and click 'Reset Token' to get your token.
Make sure the bot has all three intents enabled.
To run the bot, a couple of environment variables need to be set
(These can also be set in a .env
file):
Env Var | Optional | Description |
---|---|---|
$DISCORD_TOKEN |
No | The token for the Discord bot that you just created. |
$NIXPKGS_URL |
Yes | The url to the version of nixpkgs you want to use for the /nixpkgs command. |
$GITHUB_TOKEN |
Yes | Github API token. |
Thanks to this u/heatherhorns on Reddit for the icon.