handling string inputs properly

This commit is contained in:
Jason Ji 2017-09-21 18:31:34 -07:00
parent a2f528e011
commit 9e414eac17

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.split()[1:])
weather.get_weather(message.content)
)
if message.content.startswith('!purge'):