shoot me in the face i forgot to add this

This commit is contained in:
Jason Ji 2017-09-21 18:06:35 -07:00
parent 2fb964b5b3
commit f19ab88534

View File

@ -20,6 +20,7 @@ import help_methods
import lewds
import role_check
import wallpaper
import weather
import wolfram
# Client object
@ -116,6 +117,12 @@ async def on_message(message):
lewds.get_lewd(channel_name=message.channel.name)
)
if message.content.startswith('!weather'):
await client.send_message(
message.channel,
weather.get_weather(message.content)
)
if message.content.startswith('!purge'):
num = 20
if len(message.content.split()) > 1: