Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
84d8f87
1
Parent(s):
ba75886
Update info.py
Browse files- Powers/plugins/info.py +2 -2
Powers/plugins/info.py
CHANGED
|
@@ -256,7 +256,7 @@ async def chat_info_func(c: Gojo, message: Message):
|
|
| 256 |
chat = str(chat)
|
| 257 |
else:
|
| 258 |
return await message.reply_text(
|
| 259 |
-
f"Got and exception {
|
| 260 |
)
|
| 261 |
|
| 262 |
m = await message.reply_text(
|
|
@@ -288,7 +288,7 @@ async def chat_info_func(c: Gojo, message: Message):
|
|
| 288 |
await message.reply_text(info_caption)
|
| 289 |
except RPCError as rpc:
|
| 290 |
await message.reply_text(rpc)
|
| 291 |
-
LOGGER.error(
|
| 292 |
LOGGER.error(format_exc())
|
| 293 |
except Exception as e:
|
| 294 |
await message.reply_text(text=e)
|
|
|
|
| 256 |
chat = str(chat)
|
| 257 |
else:
|
| 258 |
return await message.reply_text(
|
| 259 |
+
f"Got and exception {ef}\n**Usage:**/chinfo [USERNAME|ID]"
|
| 260 |
)
|
| 261 |
|
| 262 |
m = await message.reply_text(
|
|
|
|
| 288 |
await message.reply_text(info_caption)
|
| 289 |
except RPCError as rpc:
|
| 290 |
await message.reply_text(rpc)
|
| 291 |
+
LOGGER.error(rpc)
|
| 292 |
LOGGER.error(format_exc())
|
| 293 |
except Exception as e:
|
| 294 |
await message.reply_text(text=e)
|