ну щас точно зарабоатит
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-10-18 20:31:15 +10:00
parent 3229f94590
commit e7e87f703d

1
bot.py
View File

@ -13,6 +13,7 @@ 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'])
async def send_welcome(message: types.Message): async def send_welcome(message: types.Message):
kb = [types.KeyboardButton(text="Пошел на хуй"), types.KeyboardButton(text="Нет, ты!")] kb = [types.KeyboardButton(text="Пошел на хуй"), types.KeyboardButton(text="Нет, ты!")]
keyboard = types.ReplyKeyboardMarkup(keyboard=kb) keyboard = types.ReplyKeyboardMarkup(keyboard=kb)