This commit is contained in:
bakatrouble 2023-03-30 21:04:23 +03:00
parent acbdefa508
commit 8c481d2b02

View File

@ -72,6 +72,7 @@ async def check_updates():
file.truncate(0)
composite.save(file, format='JPEG')
file.seek(0)
file.name = 'file.jpg'
await bot.send_photo(int(os.environ['SEND_CHAT']),
file,
caption=caption)