Merge branch 'pout' into 'master'

Adding pout

See merge request ldooks/dragon-bot!46
This commit is contained in:
Jason Ji 2017-09-22 06:42:37 +00:00
commit b98adee81b
2 changed files with 8 additions and 1 deletions

View File

@ -124,6 +124,12 @@ async def on_message(message):
weather.get_weather(message.content)
)
if message.content.startswith('!pout'):
await client.send_message(
message.channel,
get_from_reddit.get_image('pouts')
)
if message.content.startswith('!purge'):
num = 20
if len(message.content.split()) > 1:

View File

@ -62,7 +62,8 @@ def get_help_message(method):
],
'weather': [
'Returns the weather for the location you entered.',
'\nUsage: !weather Berkeley']
'\nUsage: !weather Berkeley'],
'pout': ['Returns the URL for an anime girl pouting you filthy weeb']
}
# Print out every help method