This commit is contained in:
Pavel_Duron 2022-10-18 20:35:44 +10:00
parent 988a45e235
commit a8a1fd240a

2
bot.py
View File

@ -15,7 +15,7 @@ dp = Dispatcher(bot)
@dp.message_handler(commands=['start', 'help'])
async def send_welcome(message: types.Message):
kb = [types.KeyboardButton("Пошел на хуй"), types.KeyboardButton("Нет, ты!")]
kb = [[types.KeyboardButton(text="Пошел на хуй"), types.KeyboardButton(text="Нет, ты!")]]
keyboard = types.ReplyKeyboardMarkup(keyboard=kb)
await message.reply("Дарова", reply_markup=keyboard)