Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
PRAW not doing anything once running?
Post Flair (click to view more posts with a particular flair)
Post Body

Hi there again yall! im current making a bot that removes and locks post that have a set list of words in it. Currently, I (think) I have the lock part down

```

#declare target subreddit & obtain a instance of reddit*targetSub = 'test'subreddit = reddit.subreddit(targetSub)

#defines & searchs for target words. YOU MUST INPUT YOUR OWN WORDS OR LEAVE AS DEFAULT.\*trigger_phrase ="Kik", "snp", "Snap", "👻", "Naughty", "naughty", "till you nut", "sn@p", "sn ap"for submission in subreddit.stream.submissions():if submission.title in trigger_phrase:submission.mod.lock()

```

But once I run the program, it just is left hanging and no output is given, and when I make a test input on the subreddit, nothing happens. The post isn't locked, and nothing happens on the CLI. Any help is appreciated!

Author
Account Strength
100%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
17,949
Link Karma
14,251
Comment Karma
3,532
Profile updated: 3 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago