Initial commit: UMB Telegram Bot
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user