My first slack bot Zbot
- 3 Devlogs
- 2 Total hours
10:10 AM This is zBot, a custom Slack bot built with Node.js and Slack Bolt using Socket Mode. It runs on your computer or a server and connects to your own Slack app using tokens from your workspace. It responds to seven slash commands: zping checks if the bot is online, zquote sends a random quote, z8ball answers yes or no questions, zstandup lets you log or view a daily task note, zremind sets a personal reminder that messages you later, zflip flips a coin, and zroll rolls a dice. To use it, you create your own Slack app from the provided manifest file, get three tokens from Slack, put them in a file called dot env, then run the bot with npm start. For it to stay online all the time, you deploy it to a hosting service like Hack Club Nest instead of running it on your own laptop.