small fixes
typo and help_method update
This commit is contained in:
parent
2dadf6ee56
commit
d822ed5588
@ -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.'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user