Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
1fa1a47
1
Parent(s):
7ac55fa
Update info.py
Browse files- Powers/plugins/info.py +1 -1
Powers/plugins/info.py
CHANGED
@@ -252,7 +252,7 @@ async def chat_info_func(c: Gojo, message: Message):
|
|
252 |
photo = await c.download_media(photo_id)
|
253 |
await m.delete()
|
254 |
await sleep(2)
|
255 |
-
if len(info_caption) >=
|
256 |
x = await message.reply_photo(photo)
|
257 |
await x.reply_text(info_caption)
|
258 |
else:
|
|
|
252 |
photo = await c.download_media(photo_id)
|
253 |
await m.delete()
|
254 |
await sleep(2)
|
255 |
+
if len(info_caption) >= 1024:
|
256 |
x = await message.reply_photo(photo)
|
257 |
await x.reply_text(info_caption)
|
258 |
else:
|