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