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

Shelby Company Ltd Bot

  • 3 Devlogs
  • 1 Total hours

Shelby Company Ltd is a Peaky Blinders-themed productivity bot for Slack. Built using Node.js and the @slack/bolt framework, it replaces standard workspace notifications with dramatic, business-focused management commands. Users can broadcast high-priority tasks, initiate focus timers, and call organized project meetings. The bot is hosted completely free and runs natively 24/7 on a Hack Club Nest Linux server using systemd

Ship #1 Pending review

I made a cool Slack bot for my Hack Club project. This bot is like the boss of our workspace like the Peaky Blinders. It is always working, 24/7.
The Peaky Blinders bot does a lot of things. It can send messages to everyone with a command called /by-order-of. It can also start a discussion with everyone at the time using /family-meeting.. It can send quotes from Thomas Shelby to keep everyone motivated and happy, with /shelby-quote.
I built the Peaky Blinders bot from scratch using Node.js and @slack/bolt. The Peaky Blinders bot is running all the time on a Hack Club server that uses Linux. It works with something called systemd (native to linux). By order of the PEAKY BLINDERS.

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

20m 52s logged

I ran into a problem when I found out that PM2 was not what the Hack Club guide asked for. So I made a change and moved the bots background process to Linux’s native systemd manager. This was a job like operating on the servers heart. I had to stop the processes write a new service file from the beginning using nano and restart the system daemons.. It worked just fine. Now Shelby Company Ltd. Is running smoothly and all the time, 24/7, which is exactly what the final plan, for the build required.

0
1
84
Open comments for this post

23m 35s logged

I got the foundation of the bot running on my computer. That was a big success.. When I tried to add more things to the bot I learned something new about how Slacks API works. I set up Socket Mode and the @slack/bolt framework. My first command, which was /by-order-of worked fine.. When I added the /family-meeting and /shelby-quote commands I started getting timeout errors from Slack. I figured out that this was a problem with things not being, in sync. I had to restart my Node server so it could load the new code and handle the requests that were coming in. Once I got into a routine of working on the bot it was easy to finish the Peaky Blinders-themed commands. Now the only thing left to do is deploy the bot to the cloud. Next I tried to deploy using pm2, but that was not the intended idea as I learned from the guide. I will cover that part in the next devlog.

0
1
90
Open comments for this post

19m 37s logged

Just reached a goal with my Slack bot project! I have now. Run locally “Shelby Company Ltd.”—a Peaky Blinders-themed productivity bot. It has slash commands to send out important tasks (/by-order-of) start quick team meetings (/family-meeting) and record achievements, in the company ledger. Making Node.js and Socket Mode work well with Windows PowerShell was a problem but seeing that first automatic Slack reply was a really exciting moment. The bot now has 5 commands. Next step: putting it on Hack Club Nest for availability!

0
1
87

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…