Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
f5602f8
1
Parent(s):
a1848f9
Update utils.py
Browse files- Powers/plugins/utils.py +4 -2
Powers/plugins/utils.py
CHANGED
|
@@ -236,8 +236,10 @@ async def github(_, m: Message):
|
|
| 236 |
if location:
|
| 237 |
REPLY += f"<b>Location:</b> <code>{location}</code>\n"
|
| 238 |
REPLY += f"<b>Created at:</b> <code>{created_at}</code>\n"
|
| 239 |
-
|
| 240 |
-
|
|
|
|
|
|
|
| 241 |
return
|
| 242 |
|
| 243 |
|
|
|
|
| 236 |
if location:
|
| 237 |
REPLY += f"<b>Location:</b> <code>{location}</code>\n"
|
| 238 |
REPLY += f"<b>Created at:</b> <code>{created_at}</code>\n"
|
| 239 |
+
|
| 240 |
+
if avtar:
|
| 241 |
+
return await m.reply_photo(photo=f"{avtar}", caption=REPLY)
|
| 242 |
+
await m.reply_text(REPLY)
|
| 243 |
return
|
| 244 |
|
| 245 |
|