add the forecast command to weather module

This commit is contained in:
Brian S. Stephan 2018-01-08 16:32:29 -06:00
parent 114df6fd1b
commit cc5dc94ea8
1 changed files with 5 additions and 0 deletions

View File

@ -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]))