My First Slack Bot
- 3 Devlogs
- 3 Total hours
This bot isn't slacking off, it replies to messages 24/7!
This bot isn't slacking off, it replies to messages 24/7!
Finally, IG that this project is ready to ship as it is working just fine. But, the problem is that Nest is still pending so i can’t get it to 24/7, and IDK why but the app isnt working so the slash commands are still broken on Slack
Learning before building really helped me do it ASAP. To make this, what I did was — spend my first 20 minutes understanding how Slack bots actually work before writing a single line of code or building it. The pieces turned out to be simpler than I feared: a Slack app created at api.slack.com, Socket Mode (the bot connects over WebSockets, so it needs no public URL or server), and two tokens — a bot token (xoxb-…) and an app-level token (xapp-…). Once that clicked, everything else was just wiring.
I built it in Node.js with Slack’s official Bolt framework. One command, node index.js, and Jarvis connects to the Hack Club workspace. Then I gave it a personality and some skills:
Spent the last hour last hour learning about slack bot and now i am training and building it in real life. I googled slack bot and a random guy said that hell tech me it and now I am here