Hey everyone! @ahmadmanga is here!
I'm excited to share a project I've been working on—a fully functional HIVE-based !RemindMe bot! This bot was built with the help of AI and a lot of experimentation. It's my first programming project working on HIVE blockchain's API.
You can use this bot to get a notification/reminder to check back on your ealier comments. It does that by keeping track of the time you specified for the reminder and give you a comment and a mention when the time comes. This There are many bots on HIVE, but I have yet to find a bot that offers this functionality. I thought, if no one is doing it, I'll do it myself!
!RemindMe: If anyone leaves a comment on the blockchain with !RemindMe, the bot will detect it and schedule a reminder based on the time mentioned in the comment.!RemindMe in 3 hours or !RemindMe in 2 days.on the 12th of April or on 3rd of November.on the 15th or on 15th April is good enough.The bot listens to HIVE comment data and processes it in batches. The time parsing is pretty robust, thanks to Python's dateutil library. Plus, if the time string is unrecognizable or unclear, the bot lets the user know they messed up with a friendly error message.
All timestamps and processing are synced with the blockchain, so it remains lightweight. It catches up with the blockchain if it disconnects for some reason. Comments and scheduled reminders are logged into a CSV file to ensure no reminders are missed.
The bot is reliable as long as it's running, but I can't have it running 24/7 right now. I'm running it from my laptop which doesn't have the best battery, and my internet connection isn't always there for the app to sync with HIVE. This leads the bot to be reply late! Finding solutions for this problem will be my next priority!
Below are features that aren't planned any time soon, but I want to keep in mind for future updates:
This app wouldn’t have existed without the assistance of ChatGPT. It helped me fine-tune the time parsing logic, make sense of the errors, and streamline the entire process! This is definitely a work-in-progress, but with some great tools, it’s been a fun challenge to tackle.
Feel free to check out the code and let me know if you have any suggestions or questions. And if you use it—let me know how it goes!
Thanks for your time, and stay tuned for more updates! 🙌