This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init # Инициализировать репозиторий | |
git add . # Добавить все файлы | |
git commit -m "initial commit" # Создать первый коммит | |
git branch -M main # Создать (или переименовать) главную ветку | |
git remote add origin https://github.com/ТВОЙ_ЮЗЕРНЕЙМ/ИМЯ_РЕПОЗИТОРИЯ.git # Добавить удалённый репозиторий | |
git pull origin main --rebase # сохранить и объединить их с твоими | |
git push -u origin main # Залить на GitHub | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import logging | |
from typing import Any | |
from aiogram import Bot, Dispatcher | |
from aiogram.contrib.fsm_storage.memory import MemoryStorage | |
from aiogram.dispatcher.filters.state import StatesGroup, State | |
from aiogram.types import CallbackQuery | |
from aiogram_dialog import Dialog, DialogManager, Window, DialogRegistry, Data |