From 9687c03266cea0ee2e18a459c360804aeb0aae36 Mon Sep 17 00:00:00 2001 From: Ali Maktabi Date: Wed, 30 Oct 2024 17:02:23 +0330 Subject: [PATCH] fixed telegram api errors --- telegram/messages/about.py | 4 ++-- telegram/messages/gastap_stats.py | 2 +- telegram/messages/menu.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/telegram/messages/about.py b/telegram/messages/about.py index d36cce3..524f011 100644 --- a/telegram/messages/about.py +++ b/telegram/messages/about.py @@ -4,7 +4,7 @@ about_text = """**About Unitap** -Welcome to Unitap, your smart companion for managing tasks, getting updates, and automating processes! Whether you're working on a project, organizing events, or just need help staying on top of things, Unitap is here to assist. +Welcome to Unitap, your smart companion for managing tasks, getting updates, and automating processes\! Whether you're working on a project, organizing events, or just need help staying on top of things, Unitap is here to assist. With Unitap, you can: \- **Receive timely notifications** for important events. @@ -12,7 +12,7 @@ \- **Connect with services** and streamline your workflow. \- **Ask for help or request hints** to navigate challenges. -Unitap is designed to integrate seamlessly with your tools, making your work life smoother and more efficient. Start interacting today by typing `/help` to see available commands! +Unitap is designed to integrate seamlessly with your tools, making your work life smoother and more efficient. Start interacting today by typing `/help` to see available commands\! read more here https://unitap.app/about """ diff --git a/telegram/messages/gastap_stats.py b/telegram/messages/gastap_stats.py index 2918813..3580e35 100644 --- a/telegram/messages/gastap_stats.py +++ b/telegram/messages/gastap_stats.py @@ -38,4 +38,4 @@ def handler(self, message: types.Message): rendered_message = template.render(context) - self.messenger.reply_to(message, text=rendered_message, parse_mode="MarkdownV2") + self.messenger.reply_to(message, text=rendered_message) diff --git a/telegram/messages/menu.py b/telegram/messages/menu.py index 575f13f..285464e 100644 --- a/telegram/messages/menu.py +++ b/telegram/messages/menu.py @@ -5,6 +5,6 @@ home_markup.add(types.KeyboardButton("Stats of gastap")) -home_markup.add(types.KeyboardButton("Report bug 🪲")) +home_markup.add(types.KeyboardButton("Report a bug 🪲")) home_markup.add(types.KeyboardButton("About Unitap ❓"))