Increased amount of porn fetched!

dev
pocketjawa 2017-10-22 16:49:12 -04:00
parent ed769b15e6
commit a56a56a5eb
1 changed files with 5 additions and 5 deletions

View File

@ -168,11 +168,11 @@ def on_message(message):
#Link some porn! (actually SFW) #Link some porn! (actually SFW)
elif message.content.lower().startswith('!porn'): elif message.content.lower().startswith('!porn'):
earthporn = reddit.subreddit('earthporn').hot(limit=5) earthporn = reddit.subreddit('earthporn').hot(limit=10)
serverporn = reddit.subreddit('ServerPorn').hot(limit=5) serverporn = reddit.subreddit('ServerPorn').hot(limit=10)
cableporn = reddit.subreddit('cableporn').hot(limit=5) cableporn = reddit.subreddit('cableporn').hot(limit=10)
foodporn = reddit.subreddit('FoodPorn').hot(limit=5) foodporn = reddit.subreddit('FoodPorn').hot(limit=10)
shittyfoodporn = reddit.subreddit('shittyfoodporn').hot(limit=5) shittyfoodporn = reddit.subreddit('shittyfoodporn').hot(limit=10)
porn_multi_r = list(earthporn) + list(serverporn) + list(cableporn) + list(foodporn) + list(shittyfoodporn) porn_multi_r = list(earthporn) + list(serverporn) + list(cableporn) + list(foodporn) + list(shittyfoodporn)
yield from client.send_message(message.channel, random.choice(porn_multi_r).url) yield from client.send_message(message.channel, random.choice(porn_multi_r).url)