Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
5db44e3
1
Parent(s):
4aa7c94
Update info.py
Browse files- Powers/plugins/info.py +1 -3
Powers/plugins/info.py
CHANGED
|
@@ -219,9 +219,7 @@ async def chat_info_func(c: Gojo, message: Message):
|
|
| 219 |
await m.delete()
|
| 220 |
os.remove(photo)
|
| 221 |
except Exception as e:
|
| 222 |
-
await message.
|
| 223 |
-
message_id=message.id,
|
| 224 |
-
text=e)
|
| 225 |
LOGGER.error(e)
|
| 226 |
LOGGER.error(format_exc())
|
| 227 |
|
|
|
|
| 219 |
await m.delete()
|
| 220 |
os.remove(photo)
|
| 221 |
except Exception as e:
|
| 222 |
+
await message.edit_text(text=e)
|
|
|
|
|
|
|
| 223 |
LOGGER.error(e)
|
| 224 |
LOGGER.error(format_exc())
|
| 225 |
|