BitBot is the open source utility and moderation bot for BitCrackers. Written in Go and made with ❤️.
Disclaimer: This assumes you are planning on running this bot on macOS or Linux.
$ go get -u github.com/BitCrackers/BitBot
$ go install github.com/BitCrackers/BitBot
go install
will produce the BitBot binary in$GOPATH/bin
. The executable will depend on a handful of environment variables being properly exported, the list of which you can find in the next section.
BitBot checks for a number of environment variables. The current list is:
$BITBOT_TOKEN
In addition to the required environment variables, BitBot has a TOML based config file (config.toml
) that is generated on the first run of the bot. None of the values in the config file are required, but taking the time to go through them can expand the functionality of the bot, such as setting up moderation users, muted roles, and more!
- TOML config for extra functionality. (In progress)
-
BITBOT_DEBUG environment variableactually doing something- This was moved into the config but still needs work.
- Moderation commands.
- Kicking
- Banning
- Muting
- Temp-ban and Temp-mute
- sqlite3 database integration
- Moderation logging in channel
- Parsing messages for common phrases (listed in config.toml probably)
- Possible: Pull build artifacts for menu every update and send to channel
- Fork it (https://github.com/BitCrackers/BitBot/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request