13 lines
269 B
Python
13 lines
269 B
Python
from aiogram import Router
|
|
from aiogram.types import Message
|
|
from aiogram.filters import Command
|
|
|
|
from bot.utils.weather import get_weather
|
|
|
|
router = Router()
|
|
|
|
|
|
@router.message(Command("weather"))
|
|
async def cmd_weather(message: Message):
|
|
await get_weather(message)
|