July 2018
Intermediate to advanced
272 pages
9h 21m
English
The man who can drive himself further once the effort gets painful is the man who will win.
Roger Bannister
It has long been a dream to create “artificial life.” One of the most common ways to accomplish this has been to create bots. Bots are increasingly becoming part of our everyday life, especially with the rise of Apple’s Siri and Amazon’s Alexa. In this chapter, the mysteries of how to create bots are revealed.
To create a bot, use the Python Slack library (https://github.com/slackapi/python-slackclient). To do anything with Slack, a token first needs to be generated. Generally, a good idea for dealing with tokens like this is to export an environmental variable. I often do this inside ...
Read now
Unlock full access