From 6784e9424f4e4208fd91336071ee2a93c5178670 Mon Sep 17 00:00:00 2001 From: pocketjawa Date: Sun, 22 Oct 2017 16:50:05 -0400 Subject: [PATCH] Increased jokes fetched from a week to a month. --- pocketbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pocketbot.py b/pocketbot.py index 6ab1422..74f7155 100644 --- a/pocketbot.py +++ b/pocketbot.py @@ -187,7 +187,7 @@ def on_message(message): #Random jokes from /r/jokes elif message.content.lower().startswith('!joke'): - jokes = reddit.subreddit('jokes').top('week') + jokes = reddit.subreddit('jokes').top('month') jokesr = random.choice(list(jokes)) jokemsg = jokesr.title + '\n\n' + jokesr.selftext yield from client.send_message(message.channel, jokemsg)