Spaces:
Paused
Paused
Merge branch 'main' of https://github.com/Gojo-Bots/Gojo_Satarou
Browse files- Powers/plugins/utils.py +6 -2
- requirements.txt +1 -1
Powers/plugins/utils.py
CHANGED
|
@@ -232,12 +232,16 @@ async def github(_, m: Message):
|
|
| 232 |
REPLY += f"<b>Email:</b> <code>{email}</code>\n"
|
| 233 |
if company:
|
| 234 |
org_url = company.strip("@")
|
| 235 |
-
REPLY +=
|
|
|
|
|
|
|
| 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 |
|
|
|
|
| 232 |
REPLY += f"<b>Email:</b> <code>{email}</code>\n"
|
| 233 |
if company:
|
| 234 |
org_url = company.strip("@")
|
| 235 |
+
REPLY += (
|
| 236 |
+
f"<b>Company:</b> <a href='https://github.com/{org_url}'>{company}</a>\n"
|
| 237 |
+
)
|
| 238 |
if location:
|
| 239 |
REPLY += f"<b>Location:</b> <code>{location}</code>\n"
|
| 240 |
REPLY += f"<b>Created at:</b> <code>{created_at}</code>\n"
|
| 241 |
|
| 242 |
+
if avtar:
|
| 243 |
+
return await m.reply_photo(photo=f"{avtar}", caption=REPLY)
|
| 244 |
+
await m.reply_text(REPLY)
|
| 245 |
return
|
| 246 |
|
| 247 |
|
requirements.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
aiofiles==0.8.0; python_full_version >= "3.7"
|
| 2 |
aiohttp==3.7.4; python_version >= "3.6" and python_version < "4.0"
|
| 3 |
-
anyio==3.6.
|
| 4 |
asyncio==3.4.3
|
| 5 |
beautifulsoup4==4.11.1; python_full_version >= "3.6"
|
| 6 |
cachetools==5.2.0; python_version >= "3.7" and python_version < "4.0"
|
|
|
|
| 1 |
aiofiles==0.8.0; python_full_version >= "3.7"
|
| 2 |
aiohttp==3.7.4; python_version >= "3.6" and python_version < "4.0"
|
| 3 |
+
anyio==3.6.2; python_full_version >= "3.6.2" and python_version >= "3.6"
|
| 4 |
asyncio==3.4.3
|
| 5 |
beautifulsoup4==4.11.1; python_full_version >= "3.6"
|
| 6 |
cachetools==5.2.0; python_version >= "3.7" and python_version < "4.0"
|