Skip to content

Commit

Permalink
Updated the example configuration ini file
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnoisytiger committed Jan 1, 2017
1 parent 308a711 commit 731663e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions api/config/config.example.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@
APIAI_KEY = "example_key_here"

####### FOR SLACK WEBHOOK #######
; Below is the Slack webhook token. This is dependent on your Slack channel and account. This token is used to double check the request is indeed coming from Slack and the correct channel, not some other place, since the webhook uses a publically accessible web endpoint.
; To get this token, create a Slack Outgoing Webhook integration (https://slack.com/apps/A0F7VRG6Q-outgoing-webhooks) and paste the token below. If the token is incorrect, the webhook will NOT function!
; Below is the section for integration to your Slack account. You will need to get an Outgoing Webhook token and an Incoming Webhook URL. The Outgoing Webhook will be used to push messages to the API. The Incoming Webhook will be used to return messages over to Slack once the response is generated.
; These integrations are specific to your Slack account and will need to be generated iny our own account.
; To get the Outgoing Webhook token, create a Slack Outgoing Webhook integration (https://slack.com/apps/A0F7VRG6Q-outgoing-webhooks) and paste the token below. If the token is incorrect, the webhook will NOT function!
; To get an Incoming Webhook URL, create a Slack Incoming Webhook integration (https://slack.com/apps/A0F7XDUAZ-incoming-webhooks) and paste the "response URL" below. If this URL is incorrect or not set, the bot will NOT be able to respond to requests.
SLACK_TOKEN = "token_here"
SLACK_RESPONSE_URL = "url_here"

; Below are a list of valid Slack user_id's that are allowed to communicate directly using the channel. Getting these user_id's automatically have not been fully implemented yet but are in the works. If you have multiple users needing to use it, simply add more lines like I showed below. If you don't, so be it. Just comment the second line out.
VALID_USER_IDS[] = "uuid_here"
VALID_USER_IDS[] = "another_uuid_here"

### THID PARTY API KEYS ###
### THIRD PARTY API KEYS ###

####### OPENWEATHERMAP API KEY #######
OPENWEATHERMAP_KEY = "example_key_here"
Expand Down

0 comments on commit 731663e

Please sign in to comment.