Removing unnecessary else
This commit is contained in:
parent
3d10ccaf89
commit
d5dcf5d51c
@ -98,5 +98,4 @@ def get_from_reddit():
|
||||
def get_lewd(channel_name):
|
||||
if 'nsfw' in channel_name:
|
||||
return random.choice([get_from_reddit, get_from_danbooru])()
|
||||
else:
|
||||
return 'You can only use this command in NSFW channels'
|
||||
return 'You can only use this command in NSFW channels'
|
||||
|
Loading…
x
Reference in New Issue
Block a user