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.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.