Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
f835be1
1
Parent(s):
e1d03ee
Update info.py
Browse files- Powers/plugins/info.py +3 -3
Powers/plugins/info.py
CHANGED
|
@@ -142,9 +142,9 @@ async def info_func(c: Gojo, message: Message):
|
|
| 142 |
await message.stop_propagation()
|
| 143 |
|
| 144 |
try:
|
| 145 |
-
user, _ , _= extract_user(c , message)
|
| 146 |
-
except Exception:
|
| 147 |
-
return
|
| 148 |
|
| 149 |
if not user:
|
| 150 |
message.reply_text("Can't find user to fetch info!")
|
|
|
|
| 142 |
await message.stop_propagation()
|
| 143 |
|
| 144 |
try:
|
| 145 |
+
user, _ , _= await extract_user(c , message)
|
| 146 |
+
except Exception as e:
|
| 147 |
+
return await message.reply_text(f"Got an error while running extract_user function error is {e}")
|
| 148 |
|
| 149 |
if not user:
|
| 150 |
message.reply_text("Can't find user to fetch info!")
|