Skip to content

Commit

Permalink
Norm markup
Browse files Browse the repository at this point in the history
  • Loading branch information
zdon0 committed Apr 13, 2022
1 parent 9ada308 commit 6538edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def clear(message: types.Message):
await message.answer(text="Список очищен")


@dp.message_handler(content_types='text', text="Парсер рюкзака")
@dp.message_handler(content_types='text', text=["Парсер рюкзака", "Поиск рюкзака"])
async def backpack(message: types.Message):
await message.answer(text='Выберите цвет', reply_markup=colors_markup)
ans = await message.answer(text=f'Цвет: \nТип: \nОбъем ОТ: \nОбъем ДО: \nЦена: ')
Expand Down
2 changes: 1 addition & 1 deletion markups.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def reply_keyboard():
button = types.KeyboardButton(text='Парсер рюкзака')
button = types.KeyboardButton(text='Поиск рюкзака')
like_button = types.KeyboardButton(text='Список желаний')
markup = types.ReplyKeyboardMarkup(resize_keyboard=True)
markup.add(button)
Expand Down

0 comments on commit 6538edf

Please sign in to comment.