more idiomatic use of praw attributes