Skip to content

isabelroses/blahaj

Repository files navigation

Blåhaj

Blahaj: A blazingly fast Discord bot written in Rust. 🚀🚀.

Building

Try it using nix:

nix shell github:isabelroses/blahaj

Or build manually:

git clone https://github.com/isabelroses/blahaj
cd blahaj
cargo build

Usage

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.
GITHUB_TOKEN No Github API token.
NIXPKGS_DB Yes Path to a nixpkgs database file
NIXPKGS_HASH_FILE Yes Path to a nixpkgs hash file

Then run:

## Thanks

Thanks to this [u/heatherhorns on Reddit](https://www.reddit.com/r/BLAHAJ/comments/s91n8d/some_blahaj_emojis/) for the icon.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8