Update RedditSearch.py - make resultTypes actually reflect the entities that could be generated.

This commit is contained in:
AccentuSoft
2023-02-22 02:19:33 +02:00
parent 83c1ffdcdc
commit c8ad8ae383

View File

@@ -1,12 +1,12 @@
#!/usr/bin/env python3
class Reddit:
class RedditSearch:
name = "Reddit Comments and Submissions Lookup"
category = "Reddit"
description = "Search Reddit for Phrases or Persons ('Authors') sorted by most recent."
originTypes = {'Phrase', 'Person'}
resultTypes = {'Phrase'}
resultTypes = {'Reddit Comment', 'Social Media Handle', 'Reddit Subreddit'}
parameters = {'Content to search': {'description': "Select the type of content to search:\n The Comments endpoint "
"will search for users' comments.\n The Submission will "
"look for posts by users in subreddits.",