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.
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!
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/redditdev/c...