|
|
@@ -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"])
|