Merge branch 'fix_lewd' into 'master'

Actually return a link

See merge request !32
This commit is contained in:
Luke Robles 2017-08-19 23:01:10 +00:00
commit 28f9fdd3b0

View File

@ -97,6 +97,6 @@ def get_from_reddit():
def get_lewd(channel_name):
if 'nsfw' in channel_name:
random.choice([get_from_reddit, get_from_danbooru])()
return random.choice([get_from_reddit, get_from_danbooru])()
else:
return 'You can only use this command in NSFW channels'