These are chat archives for praw-dev/praw

16th
Sep 2016
djshadowxm82
@djshadowxm82
Sep 16 2016 13:46
Good morning all. I was just wondering if theres any functionality in place to send a user a message as the subreddit mod mail?
Bryce Boe
@bboe
Sep 16 2016 15:45
@djshadowxm82 in PRAW4: reddit.redditor('username').message(..., from_subreddit='subreddit_name')
djshadowxm82
@djshadowxm82
Sep 16 2016 16:20
also one other thing is there away to determine a time stamp of when a submission was flaired with a specific flair?
thanks for that @bboe btw
Bryce Boe
@bboe
Sep 16 2016 19:09
@djshadowxm82 I'm not sure. You'll have to look at the vars(submission) to see if that exists.
djshadowxm82
@djshadowxm82
Sep 16 2016 19:09
gonna hope and pray other wise i'm gonna have to come up with a solution to track that
djshadowxm82
@djshadowxm82
Sep 16 2016 21:53
one last question, I tried this reddit_client.set_flair(subreddit=SUBREDDIT,item=check_id,flair_text='None',flair_css_class='None'
and this doesn't remove the flair for the post
i get praw.errors.InvalidFlairTarget: not a valid flair target on field name in return