PyCon Pittsburgh. April 15-23, 2020.

Talk: Automate the Boring Stuff with Slackbot

Presented by:

Takanori Suzuki

Description

Today, there are many tasks to repeat in the company/community.
In addition, we often use chat such as Slack for daily communication.
So, I created a chatbot(PyCon JP Bot) to automate various boring tasks related to holding PyCon JP.

In this talk, I will first explain how to create a chatbot using slackbot.
I will tell you how to registers bot’s integration on Slack and how to create a simple bot in Python that responds to specific keywords.

And as a specific case, I will explain how to make a bot command to perform the following operations and technical problems.
- Emoji reaction
- Block-kit
- Calculator: SymPy
- Karma(plusplus): Peewee
- Search issues, display issue details: JIRA API
- Create multiple issues from a template: JIRA API, Sheets Spreadsheet API
- Search files from Google Drive: Google Drive API
- Account management of G Suite(user, alias, group and member): G Suite API
- etc.

Video

Watch on YouTube