channel-block-tg/handlers/user/__init__.py

11 lines
298 B
Python

from aiogram import Dispatcher
from aiogram.dispatcher.filters import CommandStart, CommandHelp
from .help import bot_help
from .start import bot_start
def setup(dp: Dispatcher):
dp.register_message_handler(bot_start, CommandStart())
dp.register_message_handler(bot_help, CommandHelp())