stackoverflow-slack-bot icon indicating copy to clipboard operation
stackoverflow-slack-bot copied to clipboard

not able to fetch any data

Open rnagulapalle opened this issue 7 years ago • 1 comments

I have followed document and changed config.json as follows

{
  "serverPort": 4000,
  "tags": "paypal-sandbox;paypal",
  "so": {
    "apiBaseURL": "https://api.stackexchange.com/2.2",
    "dayBack": 1,
    "hourBack": 0,
    "minuteBack": 1
  },
  "slack": {
    "apiBaseUrl": "https://raj.slack.com/api/",
    "token": "My legacy app token",
    "channel": "#general",
    "botName": "Bender",
    "botIcon": ":bender:",
    "icons": {
      "newActivity": ":trackball:",
      "topic": ":speaking_head_in_silhouette:",
      "askedQuestion": ":speech_balloon:",
      "revisedQuestion": ":pencil:",
      "revisedAnswer": ":pencil:",
      "answerAccepted": ":ok_hand:",
      "postedAnswer": ":left_speech_bubble:",
      "comment": ":grey_question:"
    }
  },
  "lastEndFileName": "lastend",
  "dryRun": true
}

and when i run server i just see this


> [email protected] start /Users/rnagulapalle/work/workspace/sandbox/dev-day/stackoverflow-slack-bot
> node main.js

quota_max: 300 quota_remaining: 298

for this i have created a sample team on slack.. and its not paid.

can someone please help me

rnagulapalle avatar Mar 21 '18 19:03 rnagulapalle

slack.channel should be a Channel ID, not the textual name of your channel according to the README... https://www.wikihow.com/Find-a-Channel-ID-on-Slack-on-PC-or-Mac

flotwig avatar Mar 15 '19 16:03 flotwig