silly goober bot
at main 45 lines 1.1 kB view raw view rendered
1<div align="center"> 2 3<img src="assets/BigBlobhajHug.svg" width="128" height="128" /> 4 5# Blåhaj 6 7</div> 8 9Blahaj: A blazingly fast Discord bot written in Rust. 🚀🚀. 10 11## Building 12 13Try it using nix: 14 15```sh 16nix shell github:isabelroses/blahaj 17``` 18 19Or build manually: 20 21```sh 22git clone https://github.com/isabelroses/blahaj 23cd blahaj 24cargo build 25``` 26 27## Usage 28 29Before starting the bot, create an appliction in the [Discord Developer Portal](https://discord.com/developers/applications). 30 31In the appliction, go to the 'Bot' tab and click 'Reset Token' to get your token. 32 33**Make sure the bot has all three intents enabled**. 34 35To run the bot, a couple of environment variables need to be set 36(These can also be set in a `.env` file): 37 38| Env Var | Optional | Description | 39| ------- | -------- | ----------- | 40| `$DISCORD_TOKEN` | No | The token for the Discord bot that you just created. | 41| `$GITHUB_TOKEN` | No | Github API token. | 42 43## Thanks 44 45Thanks to this [u/heatherhorns on Reddit](https://www.reddit.com/r/BLAHAJ/comments/s91n8d/some_blahaj_emojis/) for the icon.