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

16m 52s logged

shipped always-on bot, a slack bot that never clocks out. you slash it a command and it fires back a joke, a dice roll, a live cat fact, or an 8-ball verdict. i wrote it in javascript on @slack/bolt in socket mode, so it connects over an outbound websocket and skips the public-url handshake. the reply logic sits in one file as plain text-in, text-out functions with no slack code, which lets me unit-test the whole brain without a workspace (15 tests pass). it runs on hack club nest as a systemd service that restarts on crash and boots on startup, and it’s held a live connection for over a day. i gave it a status page and a health endpoint too, so there’s a url that proves it’s awake.

0
1

Comments 0

No comments yet. Be the first!