Voltaic314 / Study_Fam_Discord_Bot

This is just a repository for a discord bot made for our study fam discord server. It has multiple different commands for various purposes.
MIT License
1 stars 1 forks source link

Organize these files and fix the main.py file #6

Open Voltaic314 opened 7 months ago

Voltaic314 commented 7 months ago

This is getting hectic. There are over a dozen Python files in this repo that really need to be organized and restructured. We should probably implement OOP a bit better with all these different files. I'd like to move a lot of study bot's commands into a separate file from the bot's class file instead of all in the main. I don't want main being like 2,000 lines long for all its commands. I need to study some other discord bot repos to see how they are handling it, but I haven't had the time. if anyone else has more experience with this, I'd gladly appreciate the help.

Voltaic314 commented 6 months ago

alright so I made some slight progress on this by splitting up the main py into 3 different files. One for slash commands, one for the bot's class object and client events, and then one for extra utility functions.

But I still need to organize the file structure so that all the add on files are organized a bit better and aren't all in one single folder.

I think this is relatively easy to do I just lack a little experience in this area.