stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

6h 28m 7s logged

Spaghetti and bugs really don’t go well together. Don’t believe me? Try it out… Yeah, you see now? So that is precisely why I cleared out the spaghetti and bugs out of my code! Yes. That took a long time. :ultrafastparrot:
So basically, I reorganized the fetching, moderation, downloading, and Slack posting code so it is actually readable. I also replaced the scattered dictionaries with actual data models and cleaned up how settings are loaded and checked. Less guessing what some random variable contains. Yay!!
On the actual bot side, images now download in parallel, broken or oversized downloads get skipped, and /memes has configurable cooldowns for users and channels. I also improved the source button’s link back to the uploaded post, made the daily posting time configurable, and added separate moderation controls for daily posts and slash commands. All those boring things that suddenly become very interesting when they break :heavysob:
And last and probably least, I wrote a README with installation instructions, configuration details, and command examples, added an example .env file and license, and gave MDS a logo and banner! So now you can actually figure out how to run it without having to read through all my code first. well you probably could read it now after the refactor You’re welcome. Anyways, MDS is getting pretty close to being ready to ship!! :thumbs-up:

0
65

Comments 0

No comments yet. Be the first!