handling string inputs properly
This commit is contained in:
parent
7c60380ba9
commit
3ecad82a28
@ -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'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user