I used code from GitHub for creating slack, everything was working good, but then my bot status is away, how to keep it active all the time? or at least active when there is at least one active user?
I am using javascript, Heroku server.
I used code from GitHub for creating slack, everything was working good, but then my bot status is away, how to keep it active all the time? or at least active when there is at least one active user?
I am using javascript, Heroku server.
If you are using Heroku's free tier, it will always go to sleep after 30 minutes of inactivity. Heroku has put measures in place to prevent people from keeping a free tier dyno constantly awake, so the only option is to upgrade your dyno or use a different service.
For the next time you ask a question, keep in mind the How to Ask guide to provide more detail on what the actual problem is as this was rather vague.