From a56a56a5eb1af6742d8be43af3eee02ce632b90c Mon Sep 17 00:00:00 2001 From: pocketjawa Date: Sun, 22 Oct 2017 16:49:12 -0400 Subject: [PATCH] Increased amount of porn fetched! --- pocketbot.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pocketbot.py b/pocketbot.py index cee424a..6ab1422 100644 --- a/pocketbot.py +++ b/pocketbot.py @@ -168,11 +168,11 @@ def on_message(message): #Link some porn! (actually SFW) elif message.content.lower().startswith('!porn'): - earthporn = reddit.subreddit('earthporn').hot(limit=5) - serverporn = reddit.subreddit('ServerPorn').hot(limit=5) - cableporn = reddit.subreddit('cableporn').hot(limit=5) - foodporn = reddit.subreddit('FoodPorn').hot(limit=5) - shittyfoodporn = reddit.subreddit('shittyfoodporn').hot(limit=5) + earthporn = reddit.subreddit('earthporn').hot(limit=10) + serverporn = reddit.subreddit('ServerPorn').hot(limit=10) + cableporn = reddit.subreddit('cableporn').hot(limit=10) + foodporn = reddit.subreddit('FoodPorn').hot(limit=10) + shittyfoodporn = reddit.subreddit('shittyfoodporn').hot(limit=10) 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)