Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
423e59b
1
Parent(s):
0e31799
Looks good
Browse files- Powers/plugins/info.py +4 -2
Powers/plugins/info.py
CHANGED
@@ -235,7 +235,9 @@ async def chat_info_func(c: Gojo, message: Message):
|
|
235 |
if "invalid literal for int() with base 10:" in str(ef):
|
236 |
chat = str(chat)
|
237 |
else:
|
238 |
-
return await message.reply_text(
|
|
|
|
|
239 |
|
240 |
m = await message.reply_text(
|
241 |
f"Fetching chat info of chat **{message.chat.title}**....."
|
@@ -273,4 +275,4 @@ __HELP__ = """
|
|
273 |
|
274 |
• /info - To get info about the user
|
275 |
• /chinfo - To get info about the chat
|
276 |
-
"""
|
|
|
235 |
if "invalid literal for int() with base 10:" in str(ef):
|
236 |
chat = str(chat)
|
237 |
else:
|
238 |
+
return await message.reply_text(
|
239 |
+
f"Got and exception {e}\n**Usage:**/chinfo [USERNAME|ID]"
|
240 |
+
)
|
241 |
|
242 |
m = await message.reply_text(
|
243 |
f"Fetching chat info of chat **{message.chat.title}**....."
|
|
|
275 |
|
276 |
• /info - To get info about the user
|
277 |
• /chinfo - To get info about the chat
|
278 |
+
"""
|