![]() ![]() ![]() What you need is slack-bolt, that’s what will let you make a bot quickly and easily, and is the Official Way™️ to create Slack bots, so pip install slack-bolt. The first step is to forget all about slack-sdk, a bunch of other libraries and whatnot. Hopefully Google will be kinder to you and point you to this post quickly. That’s all the scaffolding you’ll need (or that I needed) to create your apps, but I had to search for many hours to discover this information. In this post, I will detail the steps necessary to create a simple bot that will listen for messages and reply to them. The old way is now referred to as a “classic app” with a “bot scope”, and that way is deprecated and you can’t really create apps like that now, so you have to do a whole other thing. The problem is that Slack has changed the way their APIs work. “I’ve done it many times before”, I thought. I wanted to make a Slack bot using Python. This post is going to be short, but hopefully will help you avoid the troubles that befell me. ![]()
0 Comments
Leave a Reply. |