Captain Ezio commited on
Commit
4b96c00
Β·
1 Parent(s): d4445b8

Update utils.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/utils.py +4 -4
Powers/plugins/utils.py CHANGED
@@ -214,14 +214,14 @@ async def github(_, m: Message):
214
  updated_at = r.get("updated_at", "Not Found")
215
  blog = r.get("blog", None)
216
  twitter = r.get("twitter_username", None)
217
-
218
- REPLY = f"<b>πŸ§‘β€πŸ’» GitHub Info for {username}:</b>\n"
219
  if name:
220
- REPLY += f"\n<b>πŸ—£ Name:</b> <code>{name}</code>\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}'>{name}</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"
 
214
  updated_at = r.get("updated_at", "Not Found")
215
  blog = r.get("blog", None)
216
  twitter = r.get("twitter_username", None)
217
+
218
+ REPLY = ""
219
  if name:
220
+ REPLY += f"<b>πŸ§‘β€πŸ’» GitHub Info of {name}:</b>\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"