fix
This commit is contained in:
parent
a4d69a4723
commit
29306b42f5
@ -28,7 +28,7 @@ class SpoilerBotModuleConfig(TelegramBotModuleConfig):
|
|||||||
sm = SpoilerMessage.objects.get(pk=smid)
|
sm = SpoilerMessage.objects.get(pk=smid)
|
||||||
except SpoilerMessage.DoesNotExist:
|
except SpoilerMessage.DoesNotExist:
|
||||||
return update.callback_query.answer('Message does not exist')
|
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):
|
def build_dispatcher(self, dispatcher: Dispatcher):
|
||||||
dispatcher.add_handler(InlineQueryHandler(self.inline_handler))
|
dispatcher.add_handler(InlineQueryHandler(self.inline_handler))
|
||||||
|
Loading…
Reference in New Issue
Block a user