From f817c79b01a785d990d1f5c0c4215a70b1f7e300 Mon Sep 17 00:00:00 2001 From: LoRiot Date: Sun, 16 Oct 2022 22:08:23 +0300 Subject: [PATCH] Add default keyboard --- keyboards/default.py | 9 +++++++++ states/project.py | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 keyboards/default.py create mode 100644 states/project.py diff --git a/keyboards/default.py b/keyboards/default.py new file mode 100644 index 0000000..f2a1aaa --- /dev/null +++ b/keyboards/default.py @@ -0,0 +1,9 @@ +from aiogram.types import ReplyKeyboardMarkup + + +default_kb = ReplyKeyboardMarkup( + resize_keyboard=True, keyboard=[ + ["Мои проекты", "Создать проект"], + ["Помощь"], + ] +) diff --git a/states/project.py b/states/project.py new file mode 100644 index 0000000..4ca5520 --- /dev/null +++ b/states/project.py @@ -0,0 +1,5 @@ +from aiogram.dispatcher.filters.state import State, StatesGroup + + +class ProjectStates(StatesGroup): + set_fields = State()