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

My first slack bot!

  • 5 Devlogs
  • 4 Total hours

welcome to my post just getting started

Open comments for this post

1h 34m 51s logged

Finally got the site and bot completely stable! I added an offline fallback simulation to the frontend, so if the backend is down or the site is loaded statically (like on Cloudflare/Netlify), the ‘Try It Live’ demo won’t crash with 404s anymore—it gracefully switches to mock responses.
On the backend, I fixed rate-limiting crashes on /dsb-trivia by setting up fail-safes so it falls back to local questions if the external APIs act up. I also restored the missing Slack command registrations and cleaned up the package.json dependencies so everything compiles perfectly on production hosts like Railway

Finally got the site and bot completely stable! I added an offline fallback simulation to the frontend, so if the backend is down or the site is loaded statically (like on Cloudflare/Netlify), the ‘Try It Live’ demo won’t crash with 404s anymore—it gracefully switches to mock responses.
On the backend, I fixed rate-limiting crashes on /dsb-trivia by setting up fail-safes so it falls back to local questions if the external APIs act up. I also restored the missing Slack command registrations and cleaned up the package.json dependencies so everything compiles perfectly on production hosts like Railway

Replying to @divya

0
Open comments for this post

38m 16s logged

messed up the project i accidentally upated the git hub repo of other project to already running projetc i am trying to fix this

messed up the project i accidentally upated the git hub repo of other project to already running projetc i am trying to fix this

Replying to @divya

0
Open comments for this post

1h 14m 10s logged

i added some some advanced command it did not work a while due to some error finally fixed and patched it up

i added some some advanced command it did not work a while due to some error finally fixed and patched it up

Replying to @divya

0
Ship #1 Pending review

🚀 What I Made:
I built a bot packed with utility and entertainment features, including:
- /dsb-help: A comprehensive, dynamic help menu.
- /dsb-weather : Live weather checker using wttr.in.
- /dsb-joker & /dsb-dadjoke: Funny and random jokes.
- /dsb-trivia: Dynamic trivia questions with spoiler-tag answers.
- /dsb-urban : Real-time slang lookups via Urban Dictionary.
- /dsb-catfact, /dsb-qotd, /dsb-ping, and /dsb-hello.
🧠 What Was Challenging:
- Configuring the bot to use Slack's Socket Mode cleanly.
- Overcoming deployment validations and setting up the bot to run 24/7 on a Nest Linux container using systemd, which was a great learning curve for managing services.
- Debugging package.json entry points and asynchronous javascript callbacks.
✨ What I'm Proud Of:
I'm incredibly proud of building way more than the required 3 commands, ensuring everything was fully modular, and getting the bot completely deployed in a 24/7 environment so my laptop doesn't need to be open for it to respond!
👉 How to Test:
Add the bot to a channel and try running commands like /dsb-help, /dsb-weather, or /dsb-trivia!

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

20m 4s logged

i finally got all the commands together and after waiting long time nest server got approved the slack bot has been deployed 24/7 i tried switching tabs to make this thing work learned a hell lot of things

i finally got all the commands together and after waiting long time nest server got approved the slack bot has been deployed 24/7 i tried switching tabs to make this thing work learned a hell lot of things

Replying to @divya

0
Open comments for this post

37m 47s logged

iam new here , so i tried to learn something beginner and created a slack.fm app using the guide currently iam trying to decide what to do next do some creative imagination to real world application

iam new here , so i tried to learn something beginner and created a slack.fm app using the guide currently iam trying to decide what to do next do some creative imagination to real world application

Replying to @divya

1

Followers

Loading…