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

Slack Bot#1

  • 1 Devlogs
  • 1 Total hours

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

Ship #1 Pending review

What I made

I built Kaazmo (its my gamertag(; ) , a Slack bot that I made with Node.js and Slack Bolt. It has three commands: /kaazmo-ping to check if the bot is online, /kaazmo-help to show the available commands, and /kaazmo-joke to return a random joke.

I also deployed it on a Nest server using systemd, so the bot keeps running after I disconnect from the server.

What was challenging:

The hardest part was getting the Slack tokens and Socket Mode connection working correctly, then setting everything up so the bot could run all the time on the server. I also had to figure out how to update the code through GitHub and deploy the changes to Nest.

What I’m proud of

I’m proud that I got the whole thing working and I can disconnect from Nest and the bot still responds in Slack.

How to test it

Open the Slack channel where the bot is installed and try:

/kaazmo-ping — checks if the bot is working

/kaazmo-help — shows the available commands

/kaazmo-joke — gives you a random joke

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

48m 39s logged

I just set up my Slack bot using Node.js and Slack Bolt. I have added three commands, ping, help and joke. I have tested them in Slack, and published the working code to GitHub. I have also set up the token files. Now I’m going to deploy it on Nest so it can stay online 24/7(:

0
1
101

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…