General-use Discord bot written in Crystal
- Crystal-lang needed for development
- Docker/docker-compose (optional)
Configuration is done through environment variables, .env
file is read if it exists
DISCORD_TOKEN
- Discord token generated from your Discord developer consolePREFIX
- Command prefix, defaults to!
- Clone then compile
shards build
crystal run bin/bot
!choose
- Chooses randomly between provided choices!dadjoke
- Random Dad Joke!8ball
- Shake magic 8-ball!flip
- Choose a side and flip a coin!help
- Displays all commands or details about specific command!ping
- Pings the bot!roll
- Roll a 6-sided die!time
- Displays the bot's time!uptime
- Displays the bot's uptime!ud
- Urban Dictionary definition
- 🍻 emoji reaction to anything saying "cheers"
- 🥜 emoji reaction to any variation of "nuts", "nutty"
- Elliot DeNolf - creator and maintainer