diff --git a/main.py b/main.py index 86c253e..0dd9825 100644 --- a/main.py +++ b/main.py @@ -61,6 +61,8 @@ def format_data_for_telegram(data): buy_price = f"{values['buy']} دلار" formatted_lines.append(f"{flag} • {name_persian}: \n - فروش: {sell_price} \n - خرید: {buy_price}") + + formatted_message = "\n\n".join(formatted_lines) jalali_date = jdatetime.datetime.now().strftime("%Y/%m/%d") formatted_message = f"تاریخ: {jalali_date}\n\n{formatted_message}"