|
|
@ -53,7 +53,7 @@ def unfurl(url):
|
|
|
|
|
|
|
|
|
|
|
|
# Our app's Slack Event Adapter for receiving actions via the Events API
|
|
|
|
# Our app's Slack Event Adapter for receiving actions via the Events API
|
|
|
|
slack_signing_secret = os.environ['SLACK_SIGNING_SECRET'] # <https://api.slack.com/apps/AN6HH95ML/general>
|
|
|
|
slack_signing_secret = os.environ['SLACK_SIGNING_SECRET'] # <https://api.slack.com/apps/AN6HH95ML/general>
|
|
|
|
slack_events_adapter = SlackEventAdapter(slack_signing_secret, '/slack/events')
|
|
|
|
slack_events_adapter = SlackEventAdapter(slack_signing_secret, '/slack-eggberg/events')
|
|
|
|
|
|
|
|
|
|
|
|
# Create a SlackClient for your bot to use for Web API requests
|
|
|
|
# Create a SlackClient for your bot to use for Web API requests
|
|
|
|
token = os.environ['SLACK_TOKEN'] # Börjar med "xoxp-". <https://api.slack.com/apps/AN6HH95ML/oauth>
|
|
|
|
token = os.environ['SLACK_TOKEN'] # Börjar med "xoxp-". <https://api.slack.com/apps/AN6HH95ML/oauth>
|
|
|
|