вынаписал хуйни и все поломалось
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-10-28 18:06:43 +10:00
parent a8a1fd240a
commit 972b56fa1b

26
bot.py
View File

@ -13,22 +13,16 @@ dp = Dispatcher(bot)
# async def send_welcome(message: types.Message):
# await message.reply("Дарова пидорас!")
@dp.message_handler(commands=['start', 'help'])
async def send_welcome(message: types.Message):
kb = [[types.KeyboardButton(text="Пошел на хуй"), types.KeyboardButton(text="Нет, ты!")]]
keyboard = types.ReplyKeyboardMarkup(keyboard=kb)
await message.reply("Дарова", reply_markup=keyboard)
# @dp.message_handler()
# async def echo(message: types.Message):
# if 'привет' in message.text:
# await message.answer('pidor2')
# else:
# await message.answer(message.text)
# @dp.message_handler()
# async def echo_mesaage(message: types.Message):
@dp.message_handler(comands=['start'])
async def welcome(message: types,Message):
await message.message('Здравсвуйте! Выберите нужное действие')
# далее нужно как-то выставить две кнопки
await message.answer(ReplyKeyboardMarkup
(keyboard=[
KeyboardButton(text='тык')
keyboardButton(text='хуяндок')]
resize_keyboard=True
#какую-то хуйню написал
if __name__ == '__main__':
executor.start_polling(dp, skip_updates=True)