reddit and imgur fixes
This commit is contained in:
parent
0abac29523
commit
9b92d73f3a
2 changed files with 5 additions and 2 deletions
|
@ -74,4 +74,7 @@ def imgur(inp):
|
|||
if not items:
|
||||
return "No images found (use .imgur <subreddit> nsfw to show explicit content)"
|
||||
|
||||
return web.isgd("http://imgur.com/" + ','.join(items))
|
||||
if show_nsfw:
|
||||
return "{} \x02NSFW\x02".format(web.isgd("http://imgur.com/" + ','.join(items)))
|
||||
else:
|
||||
return web.isgd("http://imgur.com/" + ','.join(items))
|
Reference in a new issue