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

My Slack Bot

  • 1 Devlogs
  • 2 Total hours

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

Ship #1

I built a Slack bot that runs 24/7. I used Hack Club Nest as the server and it supports 15 commands. During development, the /dittobot-ping command stopped working, so I dug around everywhere trying to find the cause, but I couldn’t find it. It turned out that the section containing the /dittobot-ping command had been deleted during refactoring… Once I fixed that, it finally worked… I felt absolutely great…

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

2h 3m 15s logged

I made DittoBot because I wanted to try making my own Slack bot. I started with a simple ping command and kept adding more things like weather, calculator, jokes, random choices, and other small tools.

As the code got longer, I separated each command into its own file. I also deployed the bot on Hack Club Nest, so it can stay online 24/7. I learned a lot about Slack bots, APIs, GitHub, and deploying while making it.

During development, I deployed to Nest and tried running the /dittobot-ping command, but it didn’t work. I tinkered with various settings, but nothing worked properly. It turned out that the /ping command code was missing from index.js… Once I added it back, it started working correctly.

0
0
5

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…