From 8c478072c635b6b57379b12d1870b2ebbd8de362 Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Fri, 17 Feb 2023 23:18:19 +0100 Subject: [PATCH] Fixed reply message not getting quoted --- classes/poster_client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/poster_client.py b/classes/poster_client.py index baebc7f..51c43cd 100644 --- a/classes/poster_client.py +++ b/classes/poster_client.py @@ -31,6 +31,10 @@ class PosterClient(Client): raise SubmissionUnavailableError() else: filepath = path.join(configGet("data", "locations"), "submissions", db_entry["temp"]["uuid"], db_entry["temp"]["file"]) + try: + submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"]) + except: + pass else: try: submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"])