disable cache for cyberlina inline
This commit is contained in:
parent
bddcc562ba
commit
e8fd26af2e
@ -91,7 +91,7 @@ class CyberLinaBotModuleConfig(TelegramBotModuleConfig):
|
|||||||
input_message_content=InputTextMessageContent(choice(self.inline_reactions['items']))
|
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):
|
def build_dispatcher(self, dispatcher: Dispatcher):
|
||||||
dispatcher.add_handler(CommandHandler('goodmorning', self.goodmorning_handler))
|
dispatcher.add_handler(CommandHandler('goodmorning', self.goodmorning_handler))
|
||||||
|
Loading…
Reference in New Issue
Block a user