tidying!
This commit is contained in:
parent
ada153c8bc
commit
ee0ad67a16
14 changed files with 24 additions and 50 deletions
|
@ -18,7 +18,7 @@ def is_valid(data):
|
|||
|
||||
@hook.command(autohelp=False)
|
||||
def imgur(inp):
|
||||
"imgur [subreddit] -- Gets the first page of imgur images from [subreddit] and returns a link to them. If [subreddit] is undefined, return any imgur images"
|
||||
"""imgur [subreddit] -- Gets the first page of imgur images from [subreddit] and returns a link to them. If [subreddit] is undefined, return any imgur images"""
|
||||
if inp:
|
||||
# see if the input ends with "nsfw"
|
||||
show_nsfw = inp.endswith(" nsfw")
|
||||
|
|
Reference in a new issue