Battle in Slack
Resolve beefs or make tough decisions by duking it out!
(sadly, image generation has been removed because the API that it relied on is now gone)
config.py and add the following values:
- Slack Webhook URL (see below for more info)
To setup the database, run the following from a Python interpreter:
from saltbeef import db db.create_all()
For simplicity, this just runs off of
supervisor config scripts are in the
You can then go to your Slack team's integration page and:
- Add an Incoming Webhook. Get the URL Slack provides and add it in the
config-sample.pyfor the format).
- Add a Slash Command. For instance,
/saltbeef, and point it to the root of the app. For instance, if you're hosting it at
saltbeef.myserver.com, point the slash command to
Then from within the Slack channel you setup, you can run
/saltbeef help to see a list of available commands.
The following commands are available:
battle <username>- fight a user
items- list your items
equip <item #>equip an item for the next battle (one-time use)
creatures- list your creatures
ichoose <creature #>- choose a creature for your next battle
capture- catch a new creature
leaderboard- view the best trainers
- add in experience/leveling up/EVOLUTION??
- add in types and strengths/weaknesses??