File-Sharing-Bot icon indicating copy to clipboard operation
File-Sharing-Bot copied to clipboard

Some improvments

Open hazyfossa opened this issue 2 years ago • 6 comments

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

hazyfossa avatar Nov 08 '23 11:11 hazyfossa

Also btw, is there a reason this depends on pyromod 1.5? Its not used anywhere it seems..

hazyfossa avatar Nov 08 '23 11:11 hazyfossa

Oh, it seems pyromod is patching pyrogram on-the-fly somewhere, so vscode is unable to pick it as used. Leaving it be :)

hazyfossa avatar Nov 08 '23 16:11 hazyfossa

@rahulps1000 if you aren't busy, can you provide some feedback, i'm still not sure if the work is useful for the project.

hazyfossa avatar Nov 11 '23 16:11 hazyfossa

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.

hazyfossa avatar Nov 11 '23 16:11 hazyfossa

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.

hazyfossa avatar Nov 11 '23 16:11 hazyfossa

Your feedback will allow me to proceed with writing these changes, as they require more effort

hazyfossa avatar Nov 11 '23 16:11 hazyfossa

Sorry y'all, sadly don't have the time to finish this

hazyfossa avatar Feb 24 '24 14:02 hazyfossa