Skip to content

Commit

Permalink
mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Dec 29, 2024
1 parent de27739 commit 49ec8f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bot/helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: <code>/{BotCommands.CancelTaskCommand[1]} {self.multi_tag}</code>"
msgts += f"\nCancel Multi: <code>/stop {self.multi_tag}</code>"
nextmsg = await send_message(self.message, msgts)
else:
msg = [s.strip() for s in input_list]
Expand All @@ -476,7 +476,7 @@ async def run_multi(self, input_list, obj):
)
msgts = " ".join(msg)
if self.multi > 2:
msgts += f"\nCancel Multi: <code>/{BotCommands.CancelTaskCommand[1]} {self.multi_tag}</code>"
msgts += f"\nCancel Multi: <code>/stop {self.multi_tag}</code>"
nextmsg = await send_message(nextmsg, msgts)
nextmsg = await self.client.get_messages(
chat_id=self.message.chat.id,
Expand Down Expand Up @@ -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: <code>/{BotCommands.CancelTaskCommand[1]} {self.multi_tag}</code>"
msg += f"\nCancel Multi: <code>/stop {self.multi_tag}</code>"
nextmsg = await send_message(self.message, msg)
nextmsg = await self.client.get_messages(
chat_id=self.message.chat.id,
Expand Down
1 change: 0 additions & 1 deletion bot/helper/ext_utils/help_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 49ec8f7

Please sign in to comment.