From a4d69a47235d64075403b3fa95a8e913cb2d1682 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Fri, 11 Dec 2020 13:41:12 +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 56d08d6..42abd26 100644 --- a/bots/modules/spoiler.py +++ b/bots/modules/spoiler.py @@ -19,7 +19,7 @@ class SpoilerBotModuleConfig(TelegramBotModuleConfig): id=str(sm.pk), title='Send spoiler', input_message_content=InputTextMessageContent('This is a spoiler'), - reply_markup=InlineKeyboardMarkup([InlineKeyboardButton('Read content', callback_data='read {}'.format(sm.pk))]) + reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton('Read content', callback_data='read {}'.format(sm.pk))]]) )]) def read_handler(self, update: Update, ctx: CallbackContext):