Spaces:
Paused
Paused
Update plugins/bot.py
Browse files- plugins/bot.py +9 -4
plugins/bot.py
CHANGED
|
@@ -113,10 +113,15 @@ async def lol(ult):
|
|
| 113 |
pic = choice(pic)
|
| 114 |
uptime = time_formatter((time.time() - start_time) * 1000)
|
| 115 |
header = udB.get_key("ALIVE_TEXT") or get_string("bot_1")
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
if inline:
|
| 121 |
kk = f"<a href={rep}>{y}</a>"
|
| 122 |
parse = "html"
|
|
|
|
| 113 |
pic = choice(pic)
|
| 114 |
uptime = time_formatter((time.time() - start_time) * 1000)
|
| 115 |
header = udB.get_key("ALIVE_TEXT") or get_string("bot_1")
|
| 116 |
+
|
| 117 |
+
##y = Repo().active_branch
|
| 118 |
+
##xx = Repo().remotes[0].config_reader.get("url")
|
| 119 |
+
##rep = xx.replace(".git", f"/tree/{y}")
|
| 120 |
+
##kk = f" `[{y}]({rep})` "
|
| 121 |
+
|
| 122 |
+
y = "main"
|
| 123 |
+
rep = "https://github.com/TeamUltroid/Ultroid/tree/main"
|
| 124 |
+
kk = f"<a href={rep}>{y}</a>"
|
| 125 |
if inline:
|
| 126 |
kk = f"<a href={rep}>{y}</a>"
|
| 127 |
parse = "html"
|