Merge branch 'weather' of https://gitlab.com/ldooks/dragon-bot into weather

This commit is contained in:
Jason Ji 2017-09-21 18:30:49 -07:00
commit a2f528e011

View File

@ -121,7 +121,7 @@ async def on_message(message):
if message.content.startswith('!weather'):
await client.send_message(
message.channel,
weather.get_weather(message.content)
weather.get_weather(message.content.split()[1:])
)
if message.content.startswith('!purge'):