A Discord bot written in Rust to keep track of "bottle caps" for tabletop RPGs. Brought to life by serenity and shuttle.
Inspired by the Glass Cannon podcast's house rule of the Game Master giving out bottle caps to players when they do something clever, bold or funny. Players can cash in these tokens at their discretion to gain the ability to roll twice and take the better result on any roll
ROBOCAP keeps track of who has how many caps, and can give players a history
of all the caps they've earned.
You can use ROBOCAP in your own Discord server!
- Create a fork of this repository
- Register a new bot application on Discord
- Make a
Secrets.tomlfile in the root directory that looks like this:
GUILD_ID = 'your server ID here'
DISCORD_TOKEN = 'your discord bot token'- Follow instructions here to get set up with
shuttle
/list-available- Lists currently available bottle caps for the user who uses the command/history- Lists all caps past and present a user has earned/use- ~ Use a bottle cap ~/give-cap- Give a bottle cap to a user
Most likely, only the person running the game should be the one awarding bottle
caps to players. The server administrator can select who has access to the
give-cap command by using the built-in Discord settings!
Server Settings > Integrations > Bots and Applications > ROBOCAP
