Automate the Boring Stuff with Slackbot

摘要

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](https://github.com/pyconjp/pyconjpbot)) to automate various boring tasks related to holding PyCon JP.

In this talk, I will first explain how to create a chatbot using [slackbot](https://github.com/lins05/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
- 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.

投影片

https://gitpitch.com/takanory/slides?p=20190922pycontw#/

講者

Takanori Suzuki

Takanori is a Vice Chairperson of PyCon JP Association(www.pycon.jp).
He is also a director of BeProud Inc.(www.beproud.jp), and his title is "Python Climber".
He held PyCon JP 2014 to 2016 as the chairperson.
Currently he teaches Python to beginners as a lecturer at Python Boot Camp(pycamp.pycon.jp) all over Japan.
In addition, he published several Python books.
Tananori plays trumpet, climbs boulder, loves Lego, ferrets and beer.