From e8fd26af2e8a46045f5e013d1eb51f4c91f38364 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Wed, 27 Nov 2019 21:36:33 +0300 Subject: [PATCH] disable cache for cyberlina inline --- bots/modules/cyberlina.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/modules/cyberlina.py b/bots/modules/cyberlina.py index b575c9e..04fab9d 100644 --- a/bots/modules/cyberlina.py +++ b/bots/modules/cyberlina.py @@ -91,7 +91,7 @@ class CyberLinaBotModuleConfig(TelegramBotModuleConfig): input_message_content=InputTextMessageContent(choice(self.inline_reactions['items'])) ) ] - update.inline_query.answer(results) + update.inline_query.answer(results, cache_time=0) def build_dispatcher(self, dispatcher: Dispatcher): dispatcher.add_handler(CommandHandler('goodmorning', self.goodmorning_handler))