mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 01:27:29 +08:00
docs: 添加了命令手册
This commit is contained in:
parent
0bdd2d9b1d
commit
e22fadcf44
@ -49,11 +49,9 @@ async def _(bot: T_Bot, event: T_MessageEvent):
|
||||
break
|
||||
except Exception as e:
|
||||
print(f"Pull from {origin} failed: {e}")
|
||||
logs = repo.git.log('--pretty=format:%H %s')
|
||||
logs = repo.index.diff()
|
||||
reply = "Liteyuki updated!\n"
|
||||
reply += f"```\n{logs}\n```"
|
||||
print(list(repo.iter_commits()))
|
||||
|
||||
await send_markdown(reply, bot, event=event, at_sender=False)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user