1.4 Добавлен модуль погоды
This commit is contained in:
16
BotCode/routers/commands/user_cmd/weather_cmd.py
Normal file
16
BotCode/routers/commands/user_cmd/weather_cmd.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# BotCode/routers/commands/user_cmd/start_time_cmd.py
|
||||
|
||||
from aiogram import types
|
||||
from BotLibrary import CommandHandler
|
||||
from BotCode.utils import get_weather
|
||||
|
||||
__all__ = ("weather_cmd",)
|
||||
|
||||
weather_cmd = CommandHandler(
|
||||
name="weather",
|
||||
description="Погода",
|
||||
keywords=["weather", "gjujlf", "цуферук", "погода"],
|
||||
callbackdata=["keywords"],
|
||||
media="command",
|
||||
func=[get_weather],
|
||||
)
|
||||
Reference in New Issue
Block a user