Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
fca90a5
1
Parent(s):
7642d1f
Update utils.py
Browse files- Powers/plugins/utils.py +1 -0
Powers/plugins/utils.py
CHANGED
@@ -232,6 +232,7 @@ async def github(_, m: Message):
|
|
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 |
REPLY += f"<b>📝 Blog:</b> <a href={blog}>{bname}</a>\n"
|
236 |
if twitter:
|
237 |
REPLY += f"<b>⚜️ Twitter:</b> <a href='https://twitter.com/{twitter}'>{twitter}</a>\n"
|
|
|
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"
|