stickied comments will no longer be used

I made a video but it was taken up entirely by a post looking like this: https://imgur.com/a/1fwT94c
This isn't a big deal because these serious tags are uncommon, but still a small annoyance.
So I fixed it!
In threads that are marked 'serious', there is an automatic stickied mod post. ex. (shorturl.at/I1346). My changes will skip any automatically stickied comments, so they won't make it into the final Video.
This commit is contained in:
null3000 authored and GitHub committed 2022-06-05 00:31:59 +02:00
1 parent 118a3b8386
commit 211b03e7f5
1 file changed
+1
+1
View File
@@ -56,6 +56,7 @@ def get_subreddit_threads():
content["comments"] = []
for top_level_comment in submission.comments:
if not top_level_comment.stickied:
content["comments"].append(
{
"comment_body": top_level_comment.body,