[PYTHON] Create a slack bot

In my internship, I was planning to hit the existing API and pull out information, but since I am not using that API in the future, I am doing various things such as attendance management with slack now, so personal information together there I decided to make a slack bot because it would be easier if I could also enter. First, let's compare whether to do it with python or javaScript.

flask Implemented with reference to the following url. https://qiita.com/sh-tatsuno/items/55cd5f9e78b212fb57c2

Note that the name of the module to be imported seems to be different depending on the version of slackclient.

import slack

slack_client = slack.WebClient(SLACK_BOT_TOKEN)

I could easily realize a slack bot by processing ordinary flask.

Recommended Posts

Create a slack bot
How to make a slack bot
Create a bot to retweet coronavirus information
Create a bot that boosts Twitter trends
Create a Django schedule
Create a Python module
Create a LINE BOT with Minette for Python
Steps to create a Twitter bot with python
Create a Bootable LV
Create a Python environment
Create a data collection bot in Python using Selenium
Let's make a Discord Bot.
Create a local pypi repository
Create a dictionary in Python
Lunch invitation bot on Slack
Create a (simple) REST server
Create a homepage with django
Make a LINE BOT (chat)
Create a python numpy array
Create a dummy data file
Create a Django login screen
Create a heatmap with pyqtgraph
Create a classroom on Jupyterhub
Create a simple textlint server
I made a discord bot
Create a directory with python
Create a machine learning app with ABEJA Platform + LINE Bot
Create a Mastodon bot with a function to automatically reply with Python
Create a real-time auto-reply bot using the Twitter Streaming API
Create a Twitter BOT with the GoogleAppEngine SDK for Python
Create a CSV reader in Flask
Create a python GUI using tkinter
Create a DI Container in Python
Steps to create a Django project
Create a pandas Dataframe from a string.
Create a nested dictionary using defaultdict
How to create a Conda package
Create a virtual environment with Python!
Create a binary file in Python
Create a SlackBot service on Pepper
Create a Linux environment on Windows 10
Create a python environment on centos
[LINE Messaging API] Create a BOT that connects with someone with Python
How to create a Dockerfile (basic)
Create a Unix Domain Socket server
Create a 1MByte random number file
Create a Python general-purpose decorator framework
Create a Kubernetes Operator in Python
[LINE bot] I'm a ranger! Part 2
5 Ways to Create a Python Chatbot
Easy with Slack using Bot #NowPlaying
Create a CRUD API using FastAPI
Create a poisson stepper with numpy.random
Create a random string in Python
How to create a config file
Create a C wrapper using Boost.Python
Create a file uploader with Django
Create a bot that posts the number of people positive for the new coronavirus in Tokyo to Slack
Tweet in Chama Slack Bot ~ How to make a Slack Bot using AWS Lambda ~
Create a Twitter BOT service with GAE / P + Tweepy + RIOT API! (Part 1)
Create a Twitter BOT service with GAE / P + Tweepy + RIOT API! (Part 2)