From 0e1057401cd6708fa22d6a581b2c4799faf2227f Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 28 Mar 2021 17:43:51 +0000 Subject: [PATCH] Update 'bots/modules/feedback.py' --- bots/modules/feedback.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bots/modules/feedback.py b/bots/modules/feedback.py index 34eebaa..603524c 100644 --- a/bots/modules/feedback.py +++ b/bots/modules/feedback.py @@ -39,6 +39,8 @@ class FeedbackBotModuleConfig(TelegramBotModuleConfig): update.effective_message.reply_text('I don\'t know in which chat to forward this message') def handle_external_message(self, update: Update, ctx: CallbackContext): + if update.effective_message.text and update.effective_message.text.startswith('/'): + return chat = self._get_chat(update) # last_message = FeedbackMessage.objects.filter(chat=chat).last() msg = update.message.forward(self.forward_chat_id)