I'm almost done ironing out the last few bugs for the next update, so new features should be coming soon for those still using the bot.
This update involved a complete overhaul of each command and the entire bot itself. Why? Well, to be honest, I messed up. 😂 I made too many changes at once and ended up chasing my own tail trying to solve the problems until I finally just scrapped it all and started over.
I'm sure the code is still pretty redundant in many parts, but it's working, and I'm slowly testing for edge cases now.
Some of the new things I changed or added this time include a 24-hour update feature. It lets you know the current status of the account and assures you that the bot is still working and hasn't forgotten about you or your account. I felt this was necessary after stopping the bot from spamming the channels every 15 minutes with the same status. Now, it will only send a message when you initially add the account and do the first status check. After that, it will recheck every 15 minutes and log the changes for later. When a change occurs, it will message the channel the account was added from and tag you in it, informing you of the new status.
The "remove account" command got a major rework as it wasn't fully removing an account from the database, leaving fragments behind and making it difficult to re-add an account with the same name or similar bits. It should now fully remove all traces of the account once removed, so be sure you really want to remove the account before you do, as the logs for the account will also be lost for good.
I also reworked the "update account" command I added a few updates ago to work better with the database, as it was for some reason creating double entries in the database. But that's been resolved now, and it's fully working. When you update the account with a new ssocookie, it will also verify that cookie just like it does when adding an account initially.
As for the newest command, it was more of a pain than it should have been, but it opens up the possibility of more features later on now that it's working. It's a command to get and calculate the age for the account. Once an account is added, you have the option to run this new command, and it will do the math and other wizardry stuff, telling you how many years, months, and days old your account is at that moment.
The other part I've been working on is error handling, well, learning more about it really. I got carried away and had error handles for my error handles, with an extra handle just because. 😂
Here in the next few hours, the bot will go offline for a short period while I create a backup and then update it to the new version. I'll be creating a backup of the state it was in before updating, just in case something doesn't go as planned and I need to revert it back. However, once it's stable, that backup will be deleted.
The same
[Only registered and activated users can see links. Click Here To Register...] should still work. Hopefully, if everything updates correctly, users who already have the bot added shouldn't have to do anything and will notice the new commands automatically. If not, just remove the bot and re-add it. If that still doesn't work, please let me know so I can solve the issue.
Quote:
Originally Posted by OvOrdinary
Thank you for all the work on this, im still learning and new to all this but this has inspired me to learn. Following the threads closely, if you have a discord, id love to join and contribute.
|
yes im on discord link is to the left
👈
We're up and running after the update, though we had one small hiccup. I apologize to anyone who received spam for a minute or two while I got that under control. Everything should be good now, knock on wood!