add the forecast command to weather module
This commit is contained in:
parent
114df6fd1b
commit
cc5dc94ea8
@ -3,6 +3,11 @@ from bot import hitomi
|
|||||||
from weather import lib
|
from weather import lib
|
||||||
|
|
||||||
|
|
||||||
|
@hitomi.command()
|
||||||
|
async def forecast(query: str):
|
||||||
|
await hitomi.say(lib.get_forecast_for_query([query]))
|
||||||
|
|
||||||
|
|
||||||
@hitomi.command()
|
@hitomi.command()
|
||||||
async def weather(query: str):
|
async def weather(query: str):
|
||||||
await hitomi.say(lib.get_conditions_for_query([query]))
|
await hitomi.say(lib.get_conditions_for_query([query]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user