From 60c71e62f611ae1c41d10f5e3cac9a762cf52895 Mon Sep 17 00:00:00 2001 From: 5hojib Date: Wed, 1 Jan 2025 09:22:37 +0600 Subject: [PATCH] update --- bot/__main__.py | 2 +- bot/helper/telegram_helper/bot_commands.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/__main__.py b/bot/__main__.py index a4f492413..b5d1d4a89 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -53,7 +53,7 @@ "UserSetCommand": "- User settings", "StatusCommand": "- Get mirror status message", "StatsCommand": "- Check Bot & System stats", - "StopAllCommand": "- Cancel all tasks added by you to the bot", + "CancelAllCommand": "- Cancel all tasks added by you to the bot", "HelpCommand": "- Get detailed help", "BotSetCommand": "- [ADMIN] Open Bot settings", "LogCommand": "- [ADMIN] View log", diff --git a/bot/helper/telegram_helper/bot_commands.py b/bot/helper/telegram_helper/bot_commands.py index b5798dd50..d9e3d8e67 100644 --- a/bot/helper/telegram_helper/bot_commands.py +++ b/bot/helper/telegram_helper/bot_commands.py @@ -33,8 +33,8 @@ def __init__(self): self.AExecCommand = f"aexec{i}" self.ExecCommand = f"exec{i}" self.ClearLocalsCommand = f"clearlocals{i}" - self.BotSetCommand = (f"botsettings{i}",) - self.UserSetCommand = (f"settings{i}",) + self.BotSetCommand = f"botsettings{i}" + self.UserSetCommand = f"settings{i}" self.SelectCommand = f"sel{i}" self.RssCommand = f"rss{i}"