вынаписал хуйни и все поломалось
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a8a1fd240a
commit
972b56fa1b
26
bot.py
26
bot.py
@ -13,22 +13,16 @@ dp = Dispatcher(bot)
|
|||||||
# async def send_welcome(message: types.Message):
|
# async def send_welcome(message: types.Message):
|
||||||
# await message.reply("Дарова пидорас!")
|
# await message.reply("Дарова пидорас!")
|
||||||
|
|
||||||
@dp.message_handler(commands=['start', 'help'])
|
@dp.message_handler(comands=['start'])
|
||||||
async def send_welcome(message: types.Message):
|
async def welcome(message: types,Message):
|
||||||
kb = [[types.KeyboardButton(text="Пошел на хуй"), types.KeyboardButton(text="Нет, ты!")]]
|
await message.message('Здравсвуйте! Выберите нужное действие')
|
||||||
keyboard = types.ReplyKeyboardMarkup(keyboard=kb)
|
# далее нужно как-то выставить две кнопки
|
||||||
await message.reply("Дарова", reply_markup=keyboard)
|
await message.answer(ReplyKeyboardMarkup
|
||||||
|
(keyboard=[
|
||||||
# @dp.message_handler()
|
KeyboardButton(text='тык')
|
||||||
# async def echo(message: types.Message):
|
keyboardButton(text='хуяндок')]
|
||||||
# if 'привет' in message.text:
|
resize_keyboard=True
|
||||||
# await message.answer('pidor2')
|
#какую-то хуйню написал
|
||||||
# else:
|
|
||||||
# await message.answer(message.text)
|
|
||||||
# @dp.message_handler()
|
|
||||||
|
|
||||||
# async def echo_mesaage(message: types.Message):
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
executor.start_polling(dp, skip_updates=True)
|
executor.start_polling(dp, skip_updates=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user