Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
Β·
2a20518
1
Parent(s):
be217b2
Made it better
Browse files- Powers/plugins/utils.py +13 -13
Powers/plugins/utils.py
CHANGED
@@ -217,29 +217,29 @@ async def github(_, m: Message):
|
|
217 |
|
218 |
REPLY = ""
|
219 |
if name:
|
220 |
-
REPLY += f"<b>π§βπ» GitHub Info of {name}:</b
|
221 |
if bio:
|
222 |
-
REPLY += f"<b>π― Bio:</b> <code>{bio}</code
|
223 |
if url:
|
224 |
-
REPLY += f"<b>π URL:</b> <a href='{url}'>{username}</a
|
225 |
-
REPLY += f"<b>π Public Repos:</b> {public_repos}
|
226 |
-
REPLY += f"<b>π§² Followers:</b> {followers}
|
227 |
-
REPLY += f"<b>β¨ Following:</b> {following}
|
228 |
if email:
|
229 |
-
REPLY += f"<b>βοΈ Email:</b> <code>{email}</code
|
230 |
if company:
|
231 |
org_url = company.strip("@")
|
232 |
-
REPLY += f"<b>β’οΈ Organization:</b> <a href='https://github.com/{org_url}'>{company}</a
|
233 |
if blog:
|
234 |
bname = blog.split(".")[-2]
|
235 |
bname = bname.split("/")[-1]
|
236 |
-
REPLY += f"<b>π Blog:</b> <a href={blog}>{bname}</a
|
237 |
if twitter:
|
238 |
-
REPLY += f"<b>βοΈ Twitter:</b> <a href='https://twitter.com/{twitter}'>{twitter}</a
|
239 |
if location:
|
240 |
-
REPLY += f"<b>π Location:</b> <code>{location}</code
|
241 |
-
REPLY += f"<b>π« Created at:</b> <code>{created_at}</code
|
242 |
-
REPLY += f"<b>βοΈ Updated at:</b> <code>{updated_at}</code
|
243 |
|
244 |
if avtar:
|
245 |
return await m.reply_photo(photo=f"{avtar}", caption=REPLY)
|
|
|
217 |
|
218 |
REPLY = ""
|
219 |
if name:
|
220 |
+
REPLY += f"<b>π§βπ» GitHub Info of {name}:</b>"
|
221 |
if bio:
|
222 |
+
REPLY += f"\n\n<b>π― Bio:</b> <code>{bio}</code>"
|
223 |
if url:
|
224 |
+
REPLY += f"\n<b>π URL:</b> <a href='{url}'>{username}</a>"
|
225 |
+
REPLY += f"\n<b>π Public Repos:</b> {public_repos}"
|
226 |
+
REPLY += f"\n<b>π§² Followers:</b> {followers}"
|
227 |
+
REPLY += f"\n<b>β¨ Following:</b> {following}"
|
228 |
if email:
|
229 |
+
REPLY += f"\n<b>βοΈ Email:</b> <code>{email}</code>"
|
230 |
if company:
|
231 |
org_url = company.strip("@")
|
232 |
+
REPLY += f"\n<b>β’οΈ Organization:</b> <a href='https://github.com/{org_url}'>{company}</a>"
|
233 |
if blog:
|
234 |
bname = blog.split(".")[-2]
|
235 |
bname = bname.split("/")[-1]
|
236 |
+
REPLY += f"\n<b>π Blog:</b> <a href={blog}>{bname}</a>"
|
237 |
if twitter:
|
238 |
+
REPLY += f"\n<b>βοΈ Twitter:</b> <a href='https://twitter.com/{twitter}'>{twitter}</a>"
|
239 |
if location:
|
240 |
+
REPLY += f"\n<b>π Location:</b> <code>{location}</code>"
|
241 |
+
REPLY += f"\n<b>π« Created at:</b> <code>{created_at}</code>"
|
242 |
+
REPLY += f"\n<b>βοΈ Updated at:</b> <code>{updated_at}</code>"
|
243 |
|
244 |
if avtar:
|
245 |
return await m.reply_photo(photo=f"{avtar}", caption=REPLY)
|