Salz0 / telegram_flea

A open-source flea market bot, to be used in any Community
MIT License
9 stars 21 forks source link

🐛Bug: Bot doesn't accept photos as files #14

Closed Salz0 closed 10 months ago

Salz0 commented 10 months ago

Describe the bug When you try to post with /sell using a file, the bot doesn't react. Something goes wrong, needs investigation

To Reproduce Steps to reproduce the behavior: Try selling with a file-photo, without compressing

Expected behavior It should accept photos as files

Screenshots image

kamo-develop commented 10 months ago

Hi! @Salz0 can you please assign this to me? I suggest making the file handler and the photo handler (which is already written) separate, and putting the common code into another function.

Salz0 commented 10 months ago

Hi! @Salz0 can you please assign this to me?

I suggest making the file handler and the photo handler (which is already written) separate, and putting the common code into another function.

Hi! You can work on the task right-away, create a pull request and I will merge it if it solves the issue 😌

If you have any difficulties or questions -- feel free to ask