dmarx / dmarx/VideoLinkBot

Refactor to work with praw 2.x

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
26
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Bot requires a version of praw.Submission.all_comments_flat, which was removed from praw. To stay up to date, replace all_comments flat like this:

```
subm.replace_more_comments()
all_comments_flat = flatten_tree(subm.comments)
```

Pertinent discussion: http://www.reddit.com/r/redditdev/comments/17tn7r/replacement_for_all_comments_flat/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.