Captain Ezio commited on
Commit
2a20518
Β·
1 Parent(s): be217b2

Made it better

Browse files
Files changed (1) hide show
  1. 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>\n\n"
221
  if bio:
222
- REPLY += f"<b>🎯 Bio:</b> <code>{bio}</code>\n"
223
  if url:
224
- REPLY += f"<b>πŸ“Ž URL:</b> <a href='{url}'>{username}</a>\n"
225
- REPLY += f"<b>πŸ”‘ Public Repos:</b> {public_repos}\n"
226
- REPLY += f"<b>🧲 Followers:</b> {followers}\n"
227
- REPLY += f"<b>✨ Following:</b> {following}\n"
228
  if email:
229
- REPLY += f"<b>βœ‰οΈ Email:</b> <code>{email}</code>\n"
230
  if company:
231
  org_url = company.strip("@")
232
- REPLY += f"<b>ℒ️ Organization:</b> <a href='https://github.com/{org_url}'>{company}</a>\n"
233
  if blog:
234
  bname = blog.split(".")[-2]
235
  bname = bname.split("/")[-1]
236
- REPLY += f"<b>πŸ“ Blog:</b> <a href={blog}>{bname}</a>\n"
237
  if twitter:
238
- REPLY += f"<b>⚜️ Twitter:</b> <a href='https://twitter.com/{twitter}'>{twitter}</a>\n"
239
  if location:
240
- REPLY += f"<b>πŸš€ Location:</b> <code>{location}</code>\n"
241
- REPLY += f"<b>πŸ’« Created at:</b> <code>{created_at}</code>\n"
242
- REPLY += f"<b>⌚️ Updated at:</b> <code>{updated_at}</code>\n"
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)