Line 1: |
Line 1: |
− | Snack Bot is a Slack Bot that incentives workspace cleaning by giving snacks to those who share proof of cleaning. You are expected to spend a few minutes tidying the workspace, then can redeem a snack. Here are possible ways to fulfil the requirement: | + | Snack Bot is a Slack Bot that incentives workspace cleaning by giving snacks to those who share proof of cleaning. You'll need to spend a few minutes tidying the workspace, then you can redeem a snack. Here are possible ways to fulfill the requirement: |
| | | |
| === Cleaning options === | | === Cleaning options === |
Line 15: |
Line 15: |
| | | |
| == Usage == | | == Usage == |
| + | To check your balance, type `/snack`. Everyone is given credits at the start of the quarter, so you may already have some. |
| + | |
| + | If you have a credit, you can also use `/snack` to redeem. Select the cabinet corresponding to the snack you'd like and it will unlock. All cabinets use 1 credit to unlock. |
| + | |
| + | To get a credit, spend a few minutes cleaning, then send a photo of what you cleaned to Snack Bot on slack. This image will be sent to a public channel to ensure accountability, however the credit will be available immediately. You can then choose to redeem it to unlock the cabinet or save it for later. |
| + | |
| + | == Expectations == |
| + | The expectation is that cleaning lasts at least 2 minutes, and makes a noticeable change to the workspace. Cleaning a mess you made does not count, and should benefit others in the club (i.e. not a box that only you use). |
| + | |
| + | For accountability, when you send a photo it gets uploaded to #snackbot-pics. Anyone is allowed to join this channel and see what others have cleaned. If someone believes a photo was taken without cleaning, it can be flagged with the :x: emoji, and it will be sent to the workspace managers for review. |
| + | |
| + | == Technical == |
| + | The slack bot is run locally on a Raspberry Pi, using a Python script. Lawton maintains the Slack API access. When the button is pressed, a solenoid on the cooresponding . |
| + | |
| + | The raspberry pi is set up to run the script upon booting, so it is resiliant against power outtage. |