Keep track of your debts with your peers.
iou # Shows all your debts
iou @user # Get a list of your accounts with @user
iou @user $20 # Add $20 to your debt to @user (the "$" is optional)
ask @user $20 # Make @user owe you $20 more
iou help # Shows this message
iou history # Shows a list of all the transactions you where involved
You can simply deploy it on Heroku by pressing this button:
Or just run it on your own server:
- Setup a MongoDB instance, and configure the url with on the environment variable
MONGO_URL
. - Generate a random token (maybe here?), and set it on the env var
TOKEN
. - Start the bot with
npm start
.
Create an "Outgoing WebHook" here. With this settings (change them as you wish, very opinionated):
- Channel:
#iou
- Trigger Word(s):
iou,ask
- URL(s): The url of your server with a trailing
/bot
. e.g.:https://iou-slack-bot.herokuapp.com/bot
- Token: The
TOKEN
you generated on "Deploy" step. (if heroku, get it withheroku config:get TOKEN
) - Descriptive Label:
iou
- Customize Name:
IOU Slack Bot
- Customize Icon:
:money_with_wings:
emoji. THIS IS THE MOST IMPORTANT SETTING 😱
Meh.
GPL-v3