更新时间:2021-07-02 16:31:29
coverpage
Building Slack Bots
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started with Slack
Introduction to Slack
Slack as a platform
The end goal
Summary
Chapter 2. Your First Bot
Preparing your environment
Basic responses
Sending a direct message
Restricting access
Debugging a bot
Chapter 3. Adding Complexity
Responding to keywords
Bot commands
External API integration
Chapter 4. Using Data
Introduction to Redis
Connecting to Redis
Saving and retrieving data
Best practices
Simple to-do example
Chapter 5. Understanding and Responding to Natural Language
A brief introduction to natural language
Fundamentals of NLP
Tokenizers
Stemmers
String distance
Inflection
Displaying data in a natural way
When to use NLP?
Mentions
Classifiers
Using trained classifiers
Natural language generation
When should we use natural language generation?
The uncanny valley
Chapter 6. Webhooks and Slash Commands
Webhooks
Slash commands
In-channel and ephemeral responses
Using webhooks and slash commands
Chapter 7. Publishing Your App
The Slack app directory
Registering your app and obtaining tokens
Understanding the OAuth process
Scopes
Submitting your app to the app directory
Monetizing your bot
Index