feat: Suggest /help command in new file notification
This commit is contained in:
@@ -221,7 +221,7 @@ async def send_batch_notification():
|
||||
else:
|
||||
file_list_str = "\n".join(f"{name}" for name in filenames)
|
||||
|
||||
msg = f"New files uploaded:\n\n- Files: {num_files}\n- Total size: {human_size(total_size)}\n\n```\n{file_list_str}\n```".strip()
|
||||
msg = f"New files uploaded:\n\n- Files: {num_files}\n- Total size: {human_size(total_size)}\n\n```\n{file_list_str}\n```List commands: /help".strip()
|
||||
await send_telegram_message(TELEGRAM_OWNER_ID, msg, markdown=True)
|
||||
|
||||
def _schedule_batch_notification():
|
||||
|
||||
Reference in New Issue
Block a user