TgCatUB / catuserbot

A simple Telegram userbot based on Telethon
https://tgcatub.gitbook.io/
GNU Affero General Public License v3.0
1.52k stars 5.41k forks source link

Upload folder as tree. #97

Closed Deshdeepak1 closed 4 years ago

Deshdeepak1 commented 4 years ago

The files when uploading folder are uploaded all together. Wouldn't it be better if they are uploaded in tree format. For e.g. if this is tree in the server,

sandy1709 commented 4 years ago

Good if you can do then send pr

Deshdeepak1 commented 4 years ago

Will try. I have already did it in pyrogram. https://github.com/DaruaraFriends/userbot/blob/master/ubot/plugins/upload.py Have you tried recently to use your userbot locally , I am just getting errors and errors. Or it just for Heroku.

sandy1709 commented 4 years ago

Good thanks for suggestion mee to will try Actually i never tried using it locally by end of this month will try my best to make it to host locally

Deshdeepak1 commented 4 years ago

I did create a PR. https://github.com/sandy1709/catuserbot/pull/99 Also your uploadir has issues with thumbs , ever try uploading folder with mp4s .

sandy1709 commented 4 years ago

yaa thq

Deshdeepak1 commented 4 years ago

Thanks for the merge. Will you kindly add hacktoberfest-accepted label.

sandy1709 commented 4 years ago

i dont have idea about that hacktoberfest bro

Deshdeepak1 commented 4 years ago

Just go to the right of this PR . You will see the label option . Click on its setting and type hacktoberfest-accepted . Thanks Anyway.

Deshdeepak1 commented 4 years ago

Or just add hactoberfest label in your repo, from main page. But beaware it might increase spam.