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))