TheHamkerCat 5 anos atrás
pai
commit
7b9a38b7f7
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      wbb/modules/sudoers.py

+ 1 - 1
wbb/modules/sudoers.py

@@ -273,5 +273,5 @@ async def broadcast_message(_, message):
 
 @app.on_message(filters.command("update") & filters.user(SUDOERS))
 async def update_restart(_, message):
-    await message.reply_text(subprocess.check_output(["git", "pull"]).decode("UTF-8"))
+    await message.reply_text(f'```{subprocess.check_output(["git", "pull"]).decode("UTF-8")}```')
     os.execvp("python3", ["python3", "-m", "wbb"])