stackoverflow-slack-bot
stackoverflow-slack-bot copied to clipboard
not able to fetch any data
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
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