Open spergmoment opened 4 years ago
finished promise callback stuff
UPDATE 1: Suprisingly, v12 conforming went pretty well! All works great. Anyway, changed up a few things so here goes:
This is actually really fun to do. I don't know why.
Anyway, I'll be pushing aside events for a while.
Clarification on eval:
I will also be reworking this command, and for it to work the way I need, I can not use string literals. I simply will have to deal with them for now. Luckily, since eval is part of the base API and not in any way related to Discord, I am able to keep it like this.
This one is a bit smaller. However, it's still relatively big. So, here goes:
These were known, but never documented because they are too small.
I'll be ironing out many of the issues you see here.
Additionally, I'll be looking into loggerv3 and getting some ideas from there for events. Soon
No real changes here, just some fixes.
Next update will be better, I promise.
Next update is command reworks, which has already proved to be incredibly hard to do.
I'll be postponing this for a little bit. I currently have a ton of other projects to do.
Estimated time of return is in 1-3 days.
Also, earlier, I implemented a fix for wrong audit logs. It simply doesn't log it if it happened a while ago (i.e. it didn't properly fetch the audit log), which as of now I've set to 30 seconds. This is subject to change.
ive added a (very experimental) channel update thing
ill be pushing the actual code in a little while
federalbot is done ig
nvm
I have a LOT to cover here, so let's get straight into it.
I am currently planning an absolutely huge rework of the bot. This will pretty much change the whole fundamentals of the bot. Don't worry--it'll do everything the same way, just much better, with some added features on as well!
You may have noticed a drop in commits recently, and that's because I've been testing out some Sequelize stuff to make it PERFECT.
This rework will pretty much fix every single problem the bot has and more. I will be adding so many features to it. So, let's see whats changed!
EVENTS
This is one of the smaller parts but is still big nonetheless. SO, here goes:
MONEY SYSTEM
Despite how big it sounds, this is only a small part of the update as well.
LAWYER SYSTEM
Part of the money system!
COMMAND FIXES
Some general command fixes. Nothing specific here.
PROMISES
Look at any of the commands. Notice all the .then() callbacks.
v12 CONFORMING
Oh boy, this is the BIGGEST part of the update yet.
GENERAL MODERNIZATION
The code will just be generally "modernized" to better fit ES8. This goes with Promises, v12 conforming, and the money system.
REFORMATTING
I will go through every nook and cranny and make sure EVERYTHING is formatted PERFECTLY!
This is by far my most ambitious project yet. Development on this gargantuan update starts in 2 days. Until then, I will be preparing, both myself and the bot. I will also look for a better host.
Thank you for reading!
TL;DR: I will generally be reformatting, modernizing, and fixing almost the entirety of the bot, and add some new features too!