Files
PrimoWorldsBot/BotCode/utils/__init__.py

13 lines
470 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# BotCode/routers/utils/__init__.py
# Инициализация пакета utils, для работы с механиками
from aiogram import Router
from .weather_api import get_weather
# Объявление роутера и настройка экспорта модулей
__all__ = ("router", "get_weather")
router = Router(name="utils_head_router")
# Идет самым последним, если другие роутеры не сработали