Skip to content

Commit

Permalink
Merge pull request #1705 from LilSpazJoekp/join_requests
Browse files Browse the repository at this point in the history
Add join_requests to modmail docs
  • Loading branch information
LilSpazJoekp committed May 21, 2021
2 parents 8927b58 + 8b44b8f commit c80b92c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions praw/models/reddit/subreddit.py
Expand Up @@ -2593,9 +2593,9 @@ def modmail_conversations(
fetch conversations (default: None).
:param sort: Can be one of: mod, recent, unread, user (default: recent).
:param state: Can be one of: all, appeals, archived, default, highlighted,
inbox, inprogress, mod, new, notifications (default: all). "all" does not
include mod or archived conversations. "inbox" does not include appeals
conversations.
inbox, inprogress, join_requests, mod, new, notifications (default: all).
"all" does not include mod or archived conversations. "inbox" does not
include appeals conversations.
Keyword arguments are passed to :func:`.stream_generator`.
Expand Down Expand Up @@ -3192,9 +3192,9 @@ def bulk_read(
:param other_subreddits: A list of :class:`.Subreddit` instances for which to
mark conversations (default: None).
:param state: Can be one of: all, archived, highlighted, inprogress, mod, new,
notifications, or appeals, (default: all). "all" does not include internal,
archived, or appeals conversations.
:param state: Can be one of: all, archived, highlighted, inprogress,
join_requests, mod, new, notifications, or appeals, (default: all). "all"
does not include internal, archived, or appeals conversations.
:returns: A list of :class:`.ModmailConversation` instances that were marked
read.
Expand Down Expand Up @@ -3234,9 +3234,9 @@ def conversations(
:param other_subreddits: A list of :class:`.Subreddit` instances for which to
fetch conversations (default: None).
:param sort: Can be one of: mod, recent, unread, user (default: recent).
:param state: Can be one of: all, archived, highlighted, inprogress, mod, new,
notifications, or appeals, (default: all). "all" does not include internal,
archived, or appeals conversations.
:param state: Can be one of: all, archived, highlighted, inprogress,
join_requests, mod, new, notifications, or appeals, (default: all). "all"
does not include internal, archived, or appeals conversations.
For example:
Expand Down Expand Up @@ -3324,8 +3324,8 @@ def subreddits(self) -> Generator["praw.models.Subreddit", None, None]:
def unread_count(self) -> Dict[str, int]:
"""Return unread conversation count by conversation state.
At time of writing, possible states are: archived, highlighted, inprogress, mod,
new, notifications, or appeals.
At time of writing, possible states are: archived, highlighted, inprogress,
join_requests, mod, new, notifications, or appeals.
:returns: A dict mapping conversation states to unread counts.
Expand Down

0 comments on commit c80b92c

Please sign in to comment.