feat: add help text for .update command

This commit is contained in:
Cursor User
2025-06-18 01:58:28 +02:00
parent 34a89b6c03
commit cc5f0be82e

View File

@@ -334,6 +334,10 @@ async def set_repo(event):
@ultroid_cmd(pattern="update( (.*)|$)")
async def _(e):
"""Checks for updates and installs them.
Usage: .update [soft/fast]
- .update: Checks for updates.
- .update soft or .update fast: Pulls changes and restarts."""
xx = await e.eor(get_string("upd_1"))
if e.pattern_match.group(1).strip() and (
"fast" in e.pattern_match.group(1).strip()