File-Sharing-Bot
File-Sharing-Bot copied to clipboard
Some improvments
Hey, found this great project, thought i can do something useful. Please let me know if you guys accept contributions, i can probably do much more
Also btw, is there a reason this depends on pyromod 1.5? Its not used anywhere it seems..
Oh, it seems pyromod is patching pyrogram on-the-fly somewhere, so vscode is unable to pick it as used. Leaving it be :)
@rahulps1000 if you aren't busy, can you provide some feedback, i'm still not sure if the work is useful for the project.
I'm planning to rewrite the whole way errors are handled, because right now thats inconsistent between plugins and most of them are silenced, so debugging is a pain. You are already using logging module in the bot.py, so it makes sense to expand on it.
Also mongodb seems like overkill and is underused as the same time. Its a huge thing requiring it's own hosting, but used only for message broadcasting. I'll probably add a database-backend based on montydb instead to host the database in-process and leave mongo as optional.
Your feedback will allow me to proceed with writing these changes, as they require more effort
Sorry y'all, sadly don't have the time to finish this