config.js 934 B

1234567891011121314151617181920
  1. module.exports = {
  2. // your community or team name to display on join page.
  3. community: process.env.COMMUNITY_NAME || 'YOUR-TEAM-NAME',
  4. // your slack team url (ex: socketio.slack.com)
  5. slackUrl: process.env.SLACK_URL || 'YOUR-TEAM.slack.com',
  6. // access token of slack
  7. // You can generate it in https://api.slack.com/web#auth
  8. // You should generate the token in admin user, not owner.
  9. // If you generate the token in owner user, missing_scope error will be occurred.
  10. //
  11. // You can test your token via curl:
  12. // curl -X POST 'https://YOUR-SLACK-TEAM.slack.com/api/users.admin.invite' \
  13. // --data 'email=EMAIL&token=TOKEN&set_active=true' \
  14. // --compressed
  15. slacktoken: process.env.SLACK_TOKEN || 'YOUR-ACCESS-TOKEN',
  16. // an optional security measure - if it is set, then that token will be required to get invited.
  17. inviteToken: process.env.INVITE_TOKEN || null,
  18. locale: process.env.LOCALE || "en",
  19. };