Python Slack Bot Tutorial #2 - Handling Events (Events API)

preview_player
Показать описание
In this python slack bot tutorial we will learn how to handle events from our slack bot using the slack events api. The slack events api will allow for us to subscribe to events and be informed when slack events occur. We will use flask to retrieve and handle these events.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾

💰 Courses & Merch 💰

🔗 Social Medias 🔗

🎬 My YouTube Gear 🎬

🎤 XLR Microphone (Rode NT1): Not available

◾ 💸 Donations 💸 ◾
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
- Tech With Tim
- Slack Bot Tutorial
- Slack Events API
- Slack Bot Handled Events
- Python Slack Events
- Slack Events Python
- Slack Bot Events API

⭐ Hashtags ⭐
#Python #Slack
Рекомендации по теме
Комментарии
Автор

Hi Tim! Thanks for the tutorial! Its super clean!

Id like to share one thing. This method not works on Private Channel.
Here is the extra:
1. *Event Subscriptions* > *Subscribe to bot events* > *Add Bot User Event* > add *message.groups*
2. Required Scope is *groups:history* but it will be autoadd in *Bot Token Scopes*
3. *Reinstall to Workspace*

And it works well

reuvenbrooks
Автор

I apologize for the possible rudeness, but! I do not understand damn how such a nice young man can explain so beautifully, clearly. having the skills of adult teachers (explaining slowly and with patience) is a talent ... just bravo, and thank you very much for your work, bro.

unknownuseracc
Автор

Straight to the point and super useful playlist

aaditya_jagdale
Автор

I’ve only just started getting into Python and this is great!

wickywills
Автор

for anyone that was getting 403 Forbidden in ngrok response. i change the port on flask to 5002 and same for ngrok and it started working for me

kassandrarodriguez
Автор

Clean, crisp, engaging. A1 quality content. Keep rocking it!

kaminey
Автор

6th yes!
this shows I am a loyal viewer in regards to TWT i.e tim

faneeshmunjal
Автор

Hey Tim, just wanted to let you know your Slack Token is exposed at 7:40. Thanks for the video!

shreyashervatte
Автор

Your content is really good man, very very good explanations. Congrats!

JoseLuna-ibch
Автор

Thank you. Great Tutorial! Just wanted to know, How can we send direct message to a user?

santoshverma
Автор

Can't wait to get into Python. I have to wait until June 2021. I still have to learn more JavaScript, DOM, React, REST, Cypress.io, etc. I'm starting with Scope and Closures in JavaScript Monday.

BenjaminDenverstone
Автор

for anyone that has had the problem
Your URL didn't respond with the value of the challenge parameter.
make sure you have no local firewall blocking connections out or in

lewisrobson
Автор

Very helpful and step by step explanation

Santore.
Автор

Thank you. This tutorial helped me a lot.

slavalenskyy
Автор

Amazing bro. Your're doing amazing

herbertgutierrez
Автор

Issue with "challenge" when submitting the URL from ngrok
I've tried to find a solution but nothing.
But after disabling AirPlay Receiver in System Preferences > Sharing and then restarting the laptop, it eventually worked.
I am on a Macbook M1 MAX Monterey 12.4

alexdolea
Автор

I was trying to find - how can we handle callbacks? Thanks to you!

Your video and ngrok helps me a lot. cheers!

chinmaykulkarni
Автор

Hey Tim, Great Tutorial. I wanted to know how you actually figured things out? like how u know ngrok how you know about the payload. Documentation ?

TechWithRushabh
Автор

Thanks a lot for the super clear explanation!

rishaditya
Автор

Why do you need to use the slack_event_adapter for setting the route, when you are already setting the route in the event subscription page in slack docs

debjyotichattopadhyay