From 49ec8f786a1b2c43d0503d37327dda9e4b2148dd Mon Sep 17 00:00:00 2001 From: 5hojib Date: Sun, 29 Dec 2024 22:05:09 +0600 Subject: [PATCH] mistake --- bot/helper/common.py | 6 +++--- bot/helper/ext_utils/help_messages.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bot/helper/common.py b/bot/helper/common.py index 46ab1277d..50ab4843a 100644 --- a/bot/helper/common.py +++ b/bot/helper/common.py @@ -464,7 +464,7 @@ async def run_multi(self, input_list, obj): msg.append(f"{self.bulk[0]} -i {self.multi - 1} {self.options}") msgts = " ".join(msg) if self.multi > 2: - msgts += f"\nCancel Multi: /{BotCommands.CancelTaskCommand[1]} {self.multi_tag}" + msgts += f"\nCancel Multi: /stop {self.multi_tag}" nextmsg = await send_message(self.message, msgts) else: msg = [s.strip() for s in input_list] @@ -476,7 +476,7 @@ async def run_multi(self, input_list, obj): ) msgts = " ".join(msg) if self.multi > 2: - msgts += f"\nCancel Multi: /{BotCommands.CancelTaskCommand[1]} {self.multi_tag}" + msgts += f"\nCancel Multi: /stop {self.multi_tag}" nextmsg = await send_message(nextmsg, msgts) nextmsg = await self.client.get_messages( chat_id=self.message.chat.id, @@ -516,7 +516,7 @@ async def init_bulk(self, input_list, bulk_start, bulk_end, obj): if len(self.bulk) > 2: self.multi_tag = token_urlsafe(3) multi_tags.add(self.multi_tag) - msg += f"\nCancel Multi: /{BotCommands.CancelTaskCommand[1]} {self.multi_tag}" + msg += f"\nCancel Multi: /stop {self.multi_tag}" nextmsg = await send_message(self.message, msg) nextmsg = await self.client.get_messages( chat_id=self.message.chat.id, diff --git a/bot/helper/ext_utils/help_messages.py b/bot/helper/ext_utils/help_messages.py index 9c5925d2b..acdf613be 100644 --- a/bot/helper/ext_utils/help_messages.py +++ b/bot/helper/ext_utils/help_messages.py @@ -386,7 +386,6 @@ /{BotCommands.UserSetCommand[0]} or /{BotCommands.UserSetCommand[1]} [query]: Users settings. /{BotCommands.BotSetCommand[0]} or /{BotCommands.BotSetCommand[1]} [query]: Bot settings. /{BotCommands.SelectCommand}: Select files from torrents by gid or reply. -/{BotCommands.CancelTaskCommand[0]} or /{BotCommands.CancelTaskCommand[1]} [gid]: Cancel task by gid or reply. /{BotCommands.ForceStartCommand[0]} or /{BotCommands.ForceStartCommand[1]} [gid]: Force start task by gid or reply. /{BotCommands.CancelAllCommand} [query]: Cancel all [status] tasks. /{BotCommands.ListCommand} [query]: Search in Google Drive(s).