diff --git a/reddit.py b/reddit.py index 556213f..ad7401d 100644 --- a/reddit.py +++ b/reddit.py @@ -25,11 +25,7 @@ def get_reddit_instance(): def wrong_dog(bot, update): - reddit_instance = get_reddit_instance() - - sub = reddit_instance.subreddit('whatswrongwithyourdog') - post = sub.random() - update.message.reply_text("This dog has serious issues: %s" % post.url) + reddit(bot, update, ['whatswrongwithyourdog']) def hamster(bot, update):