A slack bot that manages purchasing / shopping carts.
Automatically: ./install.sh
OR manually:
python3 -m venv venv
python3 -m pip install -r requirements.txt
In the background: ./start.sh
- Equivalent to
nohup python3 app.py &
, requiresnohup
In the foreground: python3 app.py
- /sb-add: Add part link/num to a cart
- /sb-rm: Remove a part from a cart
- /sb-list: List parts in a cart
- /sb-list-carts: List all current carts
- /sb-create: Create a cart
- /sb-clear: Clear a cart (without buying)
- /sb-buy: Buy cart (+clear if approved)
- /sb-add-approver: Make a user an approver
- /sb-rm-approver: Remove an approver user
- /sb-help: Help with using shopbot
- Create a cart.
- Add items to the cart.
- Buy the cart. Approvers will react to the message to approve the purchase.
- Once approved, the cart is cleared. Repeat from the beginning for another cart. (note: approvers must be added before they can approve any purchases)