A slack bot with the implementation of slack command and dialog.
- Install pipenv
- Clone this repo and
cd DialogSlackBot
- Run
pipenv install
- Run
cp .env.example .env
- Create a Slack App
- Update .env file with
client_id
,client_secret
,verification_token
of your app. UpdateSECRET_KEY
as well - Run
pipenv shell
- Run
python manage.py migrate
- Run
python manage.py runserver
- Add
oauth redirect url
of slack app with thehttp://localhost:8000/oauth-callback/
. - Create command
/dialog
and enableinteraction
and add url ofcommand
andinteracion
. Should use ngrok or similar services for this. - Install app to your workspace with
add to slack
button on landing page. - From your workspace, use command
/dialog