From 29306b42f5727bcb2b7cb16339fa4b0b5d726bf5 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Fri, 11 Dec 2020 13:45:26 +0300 Subject: [PATCH] fix --- bots/modules/spoiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/modules/spoiler.py b/bots/modules/spoiler.py index 42abd26..bff259b 100644 --- a/bots/modules/spoiler.py +++ b/bots/modules/spoiler.py @@ -28,7 +28,7 @@ class SpoilerBotModuleConfig(TelegramBotModuleConfig): sm = SpoilerMessage.objects.get(pk=smid) except SpoilerMessage.DoesNotExist: return update.callback_query.answer('Message does not exist') - update.callback_query.answer(sm.text, alert=True) + update.callback_query.answer(sm.text, show_alert=True) def build_dispatcher(self, dispatcher: Dispatcher): dispatcher.add_handler(InlineQueryHandler(self.inline_handler))