You are browsing as a guest. Sign up (or log in) to start making projects!

My first slack bot!

  • 1 Devlogs
  • 1 Total hours

This bot isn't slacking off, it replies to messages 24/7!

Ship #1 Pending review

I built a custom Slack bot using Node.js and the @slack/bolt framework. It responds to 5 unique slash commands: /yug-hello, /yug-flipcoin, /yug-rolldice, /yug-joke, and /yug-magic8ball!
The most challenging part was figuring out how to get the bot hosted 24/7. I ended up deploying it to Render as a Web Service, which required me to modify the code to start a dummy HTTP server so Render could bind to the port while my bot communicated securely via Socket Mode.
I'm really proud that it's fully live and running around the clock. To test it, install the app in my workspace and run any of the 5 slash commands!

Try project → See source code →
Open comments for this post

54m 16s logged

I set up a Node.js project and configured the @slack/bolt framework to connect to Slack via Socket Mode. I coded 5 custom slash commands for my bot (like a coin flip and a magic 8-ball). Finally, I pushed my code to GitHub and deployed the bot as a Web Service on Render so it stays live 24/7!

0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…