Skip to content
Snippets Groups Projects
Name Last commit Last update
README.md

Installation

Download ngrok from the download site.

Run ngrok http 3000 in a terminal window.

Create a slack account, create a new workspace. Create a new App in this workspace, select From a manifest as an option. Enter the app, click on the left side on slash commands and enable them. Create a new slash command /dispense and enter as the request URL the forwarding address that is shown in the ngrok terminal window with /dispense appended at the end. Then choose Install app on the left side and install the app to the workspace.

When this is all done, run the python script with python3 app.py.

You can now run the slash command /dispense in the slack chat of your workspace and get the appropiate response that you chose in the script!