forked from Pavel_Durov/python_bot
wefwf
This commit is contained in:
parent
988a45e235
commit
a8a1fd240a
2
bot.py
2
bot.py
@ -15,7 +15,7 @@ dp = Dispatcher(bot)
|
|||||||
|
|
||||||
@dp.message_handler(commands=['start', 'help'])
|
@dp.message_handler(commands=['start', 'help'])
|
||||||
async def send_welcome(message: types.Message):
|
async def send_welcome(message: types.Message):
|
||||||
kb = [types.KeyboardButton("Пошел на хуй"), types.KeyboardButton("Нет, ты!")]
|
kb = [[types.KeyboardButton(text="Пошел на хуй"), types.KeyboardButton(text="Нет, ты!")]]
|
||||||
keyboard = types.ReplyKeyboardMarkup(keyboard=kb)
|
keyboard = types.ReplyKeyboardMarkup(keyboard=kb)
|
||||||
await message.reply("Дарова", reply_markup=keyboard)
|
await message.reply("Дарова", reply_markup=keyboard)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user