def get_daily_thread(subreddit):
    """return submission containing 'daily' in the title"""
    for submission in subreddit.hot(limit=5):
        if "daily" in submission.title.lower():
            return submission