xdragxt commited on
Commit
2b01fb8
·
verified ·
1 Parent(s): 99e3cde

Update plugins/bot.py

Browse files
Files changed (1) hide show
  1. 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
- y = Repo().active_branch
117
- xx = Repo().remotes[0].config_reader.get("url")
118
- rep = xx.replace(".git", f"/tree/{y}")
119
- kk = f" `[{y}]({rep})` "
 
 
 
 
 
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"