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
|
||||
|
||||
|
||||
@hitomi.command()
|
||||
async def forecast(query: str):
|
||||
await hitomi.say(lib.get_forecast_for_query([query]))
|
||||
|
||||
|
||||
@hitomi.command()
|
||||
async def weather(query: str):
|
||||
await hitomi.say(lib.get_conditions_for_query([query]))
|
||||
|
|
Loading…
Reference in New Issue