config.js 986 B

123456789101112131415161718192021
  1. module.exports = {
  2. // your cummunity or team name to display on join page.
  3. community: 'YOUR-TEAM-NAME',
  4. // your slack team url (ex: socketio.slack.com)
  5. slackUrl: 'YOUR-TEAM.slack.com',
  6. // access token of slack
  7. // You can generate it in https://api.slack.com/web#auth
  8. slacktoken: 'YOUR-ACCESS-TOKEN',
  9. // channels to join when the user is invited.(Array of channel-id)
  10. // You can find id of channels in your slack.(look at sidebar on the left)
  11. // channel list's HTML looks like:
  12. // <li class="channel_C024R4462 channel ">
  13. // <a class="channel_name" data-channel-id="C024R4462">
  14. // <span class="unread_just_C024R4462 unread_just hidden">0</span>
  15. // <span class="unread_highlight_C024R4462 unread_highlight hidden">0</span>
  16. // <span class="overflow-ellipsis"><span class="prefix">#</span>codeport</span>
  17. // </a>
  18. // </li>
  19. // "C024R4462" is channel id(in data-channel-id)
  20. channels: ["CHANNEL-ID", "CHANNEL-ID"].join(',')
  21. };