поломал, надеюсь починилось
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-10-18 20:25:23 +10:00
parent cf87d86413
commit 787276cfc8

20
bot.py
View File

@ -17,17 +17,17 @@ 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()
# 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):
if __name__ == '__main__':
executor.start_polling(dp, skip_updates=True)