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

My first slack bot!

  • 2 Devlogs
  • 2 Total hours

I built a Slack bot deployed on a Nest server that runs 24/7 using systemd. The bot includes: /bmi: calculates Body Mass Index /days: calculates number of days between two dates The project demonstrates full deployment flow: GitHub -> Node.js application -> Linux server (Nest) -> 24/7 production service using systemd. I also learned Slack API, command handling, and server deployment.

Open comments for this post

37m 41s logged

Add new commands
/asd-bitcoin show bitcoint price
/asd-rect calculate rectangel area

Add new commands
/asd-bitcoin show bitcoint price
/asd-rect calculate rectangel area

Replying to @Arsen

1
17
Ship #1 Changes requested

What did I make?

I built a Slack bot deployed on a Nest server that runs 24/7 using Node.js, Slack Bolt, Socket Mode, and systemd.

It includes slash commands:

/asd-ping (status check)
/asd-sum (math calculator)
/asd-bmi (BMI calculator)
/asd-dice (random dice roll)
/asd-catfact (API integration)
/asd-help (command list)
What was challenging?

The hardest part was deployment and Slack integration. I had to debug:

slash commands not triggering
Socket Mode connection issues
systemd environment configuration
Slack routing vs server-side execution mismatches

What am I proud of?

I’m proud that I turned a local bot into a fully working production service:

runs 24/7 on a Linux server
restarts automatically via systemd
stable Slack integration
external API integration working reliably
How to test it

Install the bot via the Slack OAuth link from the project, then use:

/asd-ping
/asd-sum 5 10
/asd-bmi 70 175
/asd-dice
/asd-catfact
/asd-help

All commands work inside Slack after installation.

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

1h 3m 34s logged

Set up the bot to run 24/7 on a remote server using systemd
Configured Slack Socket Mode deployment
Added new slash commands:
/asd-ping
/asd-sum
/asd-bmi
/asd-dice
/asd-catfact
/asd-help

Set up the bot to run 24/7 on a remote server using systemd
Configured Slack Socket Mode deployment
Added new slash commands:
/asd-ping
/asd-sum
/asd-bmi
/asd-dice
/asd-catfact
/asd-help

Replying to @Arsen

1
67

Followers

Loading…