Create a Slack Bot That Privately Greets New Users in 5 Easy Steps
Iskender Piyale-Sheard

Hi Iksender,

Thanks so much to you (for sharing this) and orliesaurus (for creating it). I’m having a bit of an issue getting the bot to work. It’s still offline, and my logs are showing the following error:

2017-06-20T02:37:14.697039+00:00 heroku[worker.1]: State changed from crashed to starting
2017-06-20T02:37:17.435170+00:00 heroku[worker.1]: Starting process with command `python`
2017-06-20T02:37:18.007126+00:00 heroku[worker.1]: State changed from starting to up
2017-06-20T02:37:19.249317+00:00 app[worker.1]: Traceback (most recent call last):
2017-06-20T02:37:19.249332+00:00 app[worker.1]:   File "", line 58, in <module>
2017-06-20T02:37:19.249334+00:00 app[worker.1]:     r = start_rtm()
2017-06-20T02:37:19.249356+00:00 app[worker.1]:   File "", line 41, in start_rtm
2017-06-20T02:37:19.249370+00:00 app[worker.1]:     r = r["url"]
2017-06-20T02:37:19.249397+00:00 app[worker.1]: KeyError: 'url'
2017-06-20T02:37:19.333209+00:00 heroku[worker.1]: State changed from up to crashed
2017-06-20T02:37:19.320924+00:00 heroku[worker.1]: Process exited with status 1
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...

I’m hoping either of you could shed some light on how to remedy this.

Show your support

Clapping shows how much you appreciated Cocky McSwagsalot’s story.