botkit-starter-slack | customizable starting point for building multi | Bot library
kandi X-RAY | botkit-starter-slack Summary
kandi X-RAY | botkit-starter-slack Summary
To get a fresh Botkit starter kit, use the Yeoman generator or remix a starter kit on Glitch.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Format up a time in seconds .
- Keep alive alive
- generates the text of the task list
- Usage help .
botkit-starter-slack Key Features
botkit-starter-slack Examples and Code Snippets
Community Discussions
Trending Discussions on botkit-starter-slack
QUESTION
I'm having a pretty basic problem - trying to upgrade my botkit app from 0.7.x -> 4.x.
I've used yo botkit
to generate a new v4 bot, according to these instructions. Now that I try to configure the bot with slack I can't verify the events api the same way I did with the v0.7 bot.
When I go to slacks events api url and try to verify a request url, my node app is responding with a 404 not found
error.
Looking at the code, it seems that the endpoint for /slack/receive
which slack is trying to access is indeed removed from the code.
This prevents my bot from listening to messages and responding to them.
When I was configuring the bot in v0.7.x, I just cloned this repo and followed these instructions, but when I try to follow these instructions with the starter provided for v4.x the guide fails and I can't find a more relevant one.
Any idea what I'm missing here?
...ANSWER
Answered 2019-Jul-17 at 15:41The url has changed in v4 - it is now /api/messages
QUESTION
I'm having an issue with my botkit slack bot hosted on Heroku. The bot itself is just the "starter kit."
https://github.com/howdyai/botkit-starter-slack
After a little while, the bot stops working. The logs complain of not being able to find the team. I hit the /login path of my heroku-deployed app and allow it and it works again for a bit.
Is there a heroku configuration that I need to change to keep it from going idle or something? Or is this an issue with the starter kit? Could there be something I need to do in the slack configuration?
...ANSWER
Answered 2018-Aug-21 at 22:26I am pretty sure that you run your bot on a hobby dyno. Heroku sends hobby dynos to sleep if they dont receive any requests.
What had happened:
- You deployed the bot -> the bot is running and working
- Everybody can write with the bot -> so great!
- After a few minutes, while the bot is not used, the dyno falls asleep
- At this moment the bot is not working
- You hit the /login request and yeah -> the dyno starts again and the bot is running and working
Read more about free dynos here: https://devcenter.heroku.com/articles/free-dyno-hours.
Solution: Switch to Standard Dynos
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install botkit-starter-slack
Read this step-by-step guide to make sure everything is set up.
We also have this handy video walkthrough for setting up this project with Glitch.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page