Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
f976c5a
1
Parent(s):
d5a325a
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 |
|