From cc5f0be82ed2af58aadc52f1b364ddaf5ae29af6 Mon Sep 17 00:00:00 2001 From: Cursor User Date: Wed, 18 Jun 2025 01:58:28 +0200 Subject: [PATCH] feat: add help text for .update command --- plugins/bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/bot.py b/plugins/bot.py index 7869030..1abe42c 100644 --- a/plugins/bot.py +++ b/plugins/bot.py @@ -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()