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

NovaBot

  • 1 Devlogs
  • 1 Total hours

A Slack bot designed to deliver random cat facts, jokes, check latency, and provide command help in your workspace.

Ship #1 Changes requested

I built NovaBot, a NestJS/TypeScript Slack bot usin Socket Mode and Axios for external API data. The main challenge was configuring Slack API authentification and setting up environmental variables cleaanly. I’m most proud of structuring a complete application from scratch with 4 working commands and a clear README. To test it, clone repo, run npm install, add your SLACK_BOT_TOKEN and SLACK_APP_TOKEN to a .env file, and start it with node index.js.

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

35m 54s logged

Built the /novabot-joke and /novabot-catfact commands using Axios for API requests. The trickiest part was configuring Slack’s Socket Mode in NestJS so the bot could receive payload events instantly without setup of a public webhook endpoint. After a few structural adjustments with the @slack/bolt lifecycle, all four slash commands are responding with 0-1ms delay

1
0
46

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…