In order to develop on local, Make a file named as .env with below lines.
export SLACK_OAUTH_TOKEN="xoxp-xxxxxxxxxxx-yyyyyyyyyyy-zzzzzzzzzzzz-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaz"
export SLACK_INCOMING_WEBHOOK="TXXXXXXXX/BYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZZZ"
Then use.
source .env
Get values for SLACK_OAUTH_TOKEN
and SLACK_INCOMING_WEBHOOK
from your Slack App.
sls deploy