Browse Source

small refac

master
Angerstoner 6 years ago
parent
commit
b57c756ac2
  1. 6
      reddit.py

6
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):

Loading…
Cancel
Save