small fixes

typo and help_method update
This commit is contained in:
Unknown 2017-08-17 01:07:10 -05:00
parent 2dadf6ee56
commit d822ed5588
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ def get_help_message(method):
'wallpaper': [ 'wallpaper': [
'Returns the URL for a 4k wallpaper. You can enter', 'Returns the URL for a 4k wallpaper. You can enter',
'a search term as well, for example, !wallpaper, or', 'a search term as well, for example, !wallpaper, or',
', !wallpaper flowers' ', !wallpaper flowers. Supports multiple tags.'
] ]
} }

View File

@ -21,6 +21,6 @@ def get_wall(message):
response = requests.get(url).url response = requests.get(url).url
if 'photo-1446704477871-62a4972035cd' in response: if 'photo-1446704477871-62a4972035cd' in response:
return "Could not find and image for those tags." return "Could not find an image for those tags."
else: else:
return response return response