Contribute Media
A thank you to everyone who makes this possible: Read More

Automate the Boring Stuff with Slackbot(ver.2)

Translations: en

Description

EuroPython 2022 - Automate the Boring Stuff with Slackbot(ver.2) - presented by Takanori Suzuki

[Liffey B on 2022-07-13]

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 Bolt for Python (https://slack.dev/bolt-python/concepts). 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
  • Account management of G Suite(user, alias, group and member): G Suite API
  • etc.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0/

Improve this page