Building Slack Bots (建立 Slack 機器人)

Paul Asjes

  • 出版商: Packt Publishing
  • 出版日期: 2016-06-24
  • 售價: $1,810
  • 貴賓價: 9.5$1,720
  • 語言: 英文
  • 頁數: 216
  • 裝訂: Paperback
  • ISBN: 1786460807
  • ISBN-13: 9781786460806
  • 相關分類: Chatbot
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Key Features

  • This is the first developer's guide to programming for Slack
  • It covers everything you need to create chat bots for Slack's conversational UI
  • It's full of realistic examples, usable code, and lucid explanations on everything you need to know

Book Description

Slack promises that its users will "be less busy." Slack bots interact with users in Slack chatrooms, providing useful immediate information, and automating work. This book gives you everything you need to build powerful and useful Slack bots.

You'll see how to hook into the Slack API to create software that can read and post to chatrooms, respond to commands and hints given in natural conversational language, and build fun and useful bots for your own place of work, both as a front end to your own service and to distribute and share as apps. You can even sell your bots and build a business as a Slack bot developer.

Throughout the book, you'll build useful and fun example applications that you can modify for your own situations. These range from simple, fun applications to liven up discussions to useful, data-driven apps to help you make decisions quickly and manage work.

What you will learn

  • Receive and send messages sent in Slack
  • Respond to user commands
  • Process natural language
  • Perform useful tasks on commands such as fetching data from external sources
  • Use webhooks and slash commands
  • Create a Google Classroom and add customized information for each individual class

About the Author

Paul Asjes started programming on his TI-83 calculator in high school and has been hooked ever since.

Specializing in JavaScript, he is always interested in staying up to date with the latest developments in the field. Currently, he is building universal full-stack apps with technologies such as React, Webpack, and Node when he's not spending far too much time on Slack.

Since his IRC days, he has been interested in chat bots and how they can be used. He has written several Slack bots to date, ranging from bots that facilitate playing games to bots that retrieve important business metrics.

Table of Contents

  1. Getting Started with Slack
  2. Your First Bot
  3. Adding Complexity
  4. Using Data
  5. Understanding and Responding to Natural Language
  6. Webhooks and Slash Commands
  7. Publishing Your App

商品描述(中文翻譯)

主要特點


  • 這是第一本針對Slack編程的開發者指南

  • 涵蓋了您需要為Slack的對話式用戶界面創建聊天機器人的所有內容

  • 內容豐富,包含實用的代碼和清晰的解釋,讓您了解所需的一切

書籍描述

Slack承諾讓用戶“更少忙碌”。Slack機器人在Slack聊天室中與用戶互動,提供有用的即時信息並自動化工作。本書為您提供了構建強大且有用的Slack機器人所需的一切。

您將了解如何使用Slack API來創建能夠讀取和發布聊天室消息、響應自然對話語言中的命令和提示,以及為自己的工作場所構建有趣且有用的機器人,既可以作為自己服務的前端,也可以作為應用程序分發和共享。您甚至可以出售自己的機器人,成為一名Slack機器人開發者。

在整本書中,您將構建一些有用且有趣的示例應用程序,您可以根據自己的情況進行修改。這些應用程序從簡單有趣的應用程序到幫助您快速做出決策和管理工作的有用的數據驅動應用程序。

您將學到什麼


  • 接收和發送在Slack中發送的消息

  • 響應用戶命令

  • 處理自然語言

  • 在命令中執行有用的任務,例如從外部源獲取數據

  • 使用Webhooks和斜線命令

  • 創建Google Classroom並為每個個別班級添加自定義信息

關於作者

Paul Asjes在高中時就開始在他的TI-83計算器上編程,從那時起就一直熱衷於此。

他專注於JavaScript,並始終關注該領域的最新發展。目前,他在不花太多時間在Slack上的情況下,使用React、Webpack和Node等技術構建通用全棧應用程序。

自從他的IRC時代以來,他就對聊天機器人及其用途感興趣。他已經開發了多個Slack機器人,從促進遊戲玩樂的機器人到檢索重要業務指標的機器人。

目錄


  1. 開始使用Slack

  2. 您的第一個機器人

  3. 增加複雜性

  4. 使用數據

  5. 理解並響應自然語言

  6. Webhooks和斜線命令

  7. 發布您的應用程序