@Tennis-Legend on Pocket Screw
I made a Python Slack bot with three commands: /clock, /remindme, and /whatstheweather. The hardest part was getting each command to work properly and making sure the bot could respond to users through DMs. I also had to work out how to keep the bot running when my laptop isn’t on, which meant setting it up on a cloud host.
I’m most proud of having three different useful commands working together in one bot. I also added error handling for things like missing commands, invalid reminder times and weather requests that don’t work.
To test it, use /clock, /remindme 1 test reminder, or /whatstheweather Sydney in Slack. The bot will respond through DMs, which can be found under Activities.
- 3 devlogs
- 2h
- Make a Slack Bot