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

jer bot

  • 1 Devlogs
  • 1 Total hours

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

Ship #1 Changes requested

I built “jer bot”, a custom Slack bot for the Stardance Challenge using Node.js and @slack/bolt. It has 6 unique slash commands (ping, help, catfact, roll, coinflip, joke) and fetches real data using Axios.

The biggest challenge was deploying it to Render. I ran into an “invalid_auth” error because of a typo in my environment variables, and then a 404 error during submission because my repo was private. Fixed both by correcting the tokens and making the repo public.

I’m really proud that it’s now running 24/7 on Render even when my laptop is closed. To test it, just go to the #bot-spam channel in the Hack Club Slack and type /jer-help or /jer-ping. It replies instantly!

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

1h 10m 36s logged

Just finished building my custom Slack bot for the Stardance Challenge!

Tech Stack: Node.js, @slack/bolt, Axios, and Render for hosting.

Features: Added 6 slash commands (/jer-ping, /jer-help, /jer-catfact, /jer-roll, /jer-coinflip, /jer-joke). It uses external APIs for cat facts and jokes.

Challenges: Faced an invalid_auth error on Render due to a typo in the environment variables. Fixed it by correcting the tokens. Got a 404 error during submission because the GitHub repo was private. Made it public to fix it.

Result: The bot is now live 24/7 on Render and responds to commands instantly. GitHub repo is public and the project is submitted!

0
0
6

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…