Python Slack Bot Tutorial #3 - Slash Commands
Vložit
- čas přidán 26. 08. 2024
- This python slack bot tutorial covers how to use slash commands in slack. We will be working on creating slash commands, handling them when they are invoked and replying to the user with some kind of meaningful message.
💻 Ngrok Download: ngrok.com/
📖 Full Series Code: github.com/tec...
📕 Slack API Website: api.slack.com/
📗 Slack Website: slack.com/intl...
📚 Playlist: • Python Slack Bot
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
🔊 Subscribe to my second channel for weekly podcasts! / @timeoutwithtim
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: tech-with-tim....
👕 Merchandise: teespring.com/...
🔗 Social Medias 🔗
📸 Instagram: / tech_with_tim
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-ruscica-82631b179
🌎 Website: techwithtim.net
📂 GitHub: github.com/tec...
🔊 Podcast: anchor.fm/tech...
🎬 My CZcams Gear 🎬
🎥 Main Camera (EOS Canon 90D): amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): amzn.to/2Yuol5r
🕹 Tripod: amzn.to/3hpSprv
🎤 Main Microphone (Rode VideoMic Pro): amzn.to/3d0KKMG
🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
🎤 Third Microphone (Blue Yeti USB Mic): amzn.to/3hoD625
☀️ Lights: amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
🖱 Mouse (Steelseries Rival 300): amzn.to/3cVTqnD
📸 Webcam (Logitech 1080p Pro): amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): amzn.to/30Dtafi
💻 Main Monitor (LG 4K): amzn.to/37ybtiH
💻 Secondary Monitor (Thinkvision 1080p): amzn.to/2AyHR8H
🎤 XLR Microphone (Rode NT1): Not available
🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
🎚 Audio Interface (Behringer 4 Channel): amzn.to/3fqm4z3
💾 Recorder (Zoom H6): amzn.to/2UIihVJ
◾ 💸 Donations 💸 ◾
💵 One-Time Donations: www.paypal.com...
💰 Patreon: / techwithtim
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
- Tech With Tim
- Slack Bot Python
- Python Slack Bot
- Python Slack Slash Commands
- Slack Commands
- Python Slack Bot Commands
- Slash Commands Slack
- Slack Slash Commands
⭐ Hashtags ⭐
#Python #Slack
a="I"
comment=7
If comment==7:
print (a+"am 7th commenter")
else:
print("no it's necessary")
Not much into bots but I'm learning how we can integrate API
for some reason i get this: "
"
and Message: 0. anyone else with this error?
Yes. I wasn't at first, but it started appearing as I went through the video. I came here to see if anyone had a solution.
nice bro
Can you please make a video tutorial on the golf game that you created once?...it was quite cool
Awesome video as always Tim!! I always love watching your videos related to any topic. Keep up the good work 👍👍
Can you please help me.
Im trying to display a Modal file (built with Block Kit) when using slash commands and make those modals interactive
any thoughts on why the script will stop functioning after about an hour? I typically have to end the script and restart it and then it works again
great video as usual Tim.
ay nice content man
Tim, this is awesome. thanks for the guide man
Nice, bro. Keep it up you helped me a lot with these videos.
so true
Hi how are you?
Can the bot be made to open a block kit or modals? Can you help us with that?
i just wanna ask. On the machine learning tutorial you were using pycharm and you set up the tenserflow package i believe nad all the others. How can you do that in python? i remember you went to file and then settings but in vs code theres no such as settings in file. I will appriciate any sort of help.
Hey Tim, what about an advanced neural net tutorial ??
Can you please amke a video on coding a website using django in pycharm(once this series gets over)?
so good thanks Tim
TIM THE WORLDS BEST CODER
he really is 😁
@@samcodes2912 dropped a sub
Despite following everything step by step, im getting ngrok error 6022, any solutions?
great series! Question though. Anyone know how to do an f-string in Pycharm (macOS). Im on Python 3.12 and Pycharm 2023.1.4
Actually nvm. got it
client.chat_postMessage(channel=channel_id, text=f"Message: {message_count}")
Hey Tim! It such a wonderful video. I have a doubt, lets say I have a bot and that is configured for two or more channels.. and I want to track the messages for those two or three channels as well. How do I achieve this? I tried inside a loop but it fails. It just collectively tracking messages for all those channels and replying it to the 1st element in the list of channels. I believe you got my point and I hope you could help me through this. Thanks!
Sorted it after watching the video couple more times :-) Earlier I was using Pagination... Do you have any such idea how this be handled with Pagination? If so do a tutorial in your style.. much needed and very helpful. Thanks!
THX !
How I can do this using the python slack sdk with an aws lambda?
Thanks bro
my children and I have been watching your video for well now you always make our day my little girl who is 4 years old ask me to start channel like this so I did I will like to invite you to check it out😊😊L
nice. keep it up
Why Flask ? Please make same with Django !!
You forgot to add that in order to make request.form working you need to import
from flask import request
Hello Tim, Love your channel and I learn a lot. Quick question : When I run the slash command (tasks) I get : /tasks failed with the error "dispatch_failed" even though I specified POST (got 405 METHOD NOT ALLOWED without it) . Using POST I get 500 INTERNAL SERVER ERROR but I do get the data and can use it. Why is this happening ? Thanks, Itay
never mind. found my problem...
@@Itayc1 What was the solution if you remember? Thanks!
First tim sir
can you make a telegram bot tutorials for us please
EXACTLY 100TH VIEW WTH
Yo i'm the first liker XD
congratulations 🎉
seventh comment...
Anyone experiencing a big html code? Rendered in channel
I hope you make telegram bot
Third view..