General-use Discord bot written in Crystal
https://github.com/denolfe/discord-crystal.git
General-use Discord bot written in Crystal
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 !shards buildcrystal 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