finallyyy my first Slack bot is working!!
today i improved my bot by adding a 5 second timeout to the catfact and joke APIs, so if they don’t respond the bot won’t keep waiting. i also improved the error messages, fixed some small mistakes in my code and checked everything again.
i updated my README too, explaining what my bot does, all 6 commands, how to run it and what i learned while making it.
then i pushed everything to GitHub, updated my Nest server and restarted the bot. i tested all 6 commands in Slack and they are all working!!
i honestly learned so many things from this project, especially how APIs, GitHub, SSH and hosting work. i am really happy that i finally made my own bot!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.