Slack-bill-sharing is a bill sharing bot for slack.
- Create a bot on slack's website
- Install the project dependencies with
npm install
- Run the project locally with the
grunt
command - Your bot should now be connected and an admin page should be available at the address :
http://localhost:3220/admin
- Register the following env vars : DB_USER, DB_PASS, ADMIN_USER, ADMIN_PASS, SLACK_TOKEN, SLACK_BOT, SLACK_CURRENCY
- Start by adding users with
@botName add username
- At anytime, you can consult the list of users with
@botName team
and remove a user with@botName remove username
- Add expenses by using one of the following commands
@botName adrien paid 10
or@botName john paid 35 to sandy roger
. - Check balances with the command
@botName report