Summary

In this chapter, we saw how to abstract away the core Slack API methods into a reusable module by using ES6's new class structures. The difference between a reactive and active bot was outlined as well as the distinction between keywords and bot commands. By applying the basic knowledge of external APIs outlined in this chapter, you should be able to create a bot that interfaces with any third-party application that provides RESTful APIs.

In the next chapter, we will learn about the Redis data storage service and how to write a bot that interfaces with a persistent data source.

Get Building Slack Bots now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.