class praw.models.ModAction(reddit: praw.Reddit, _data: Dict[str, Any] | None)#

Represent a moderator action.

__init__(reddit: praw.Reddit, _data: Dict[str, Any] | None)#

Initialize a PRAWBase instance.


reddit – An instance of Reddit.

property mod: praw.models.Redditor#

Return the Redditor who the action was issued by.

classmethod parse(data: Dict[str, Any], reddit: praw.Reddit) Any#

Return an instance of cls from data.

  • data – The structured data.

  • reddit – An instance of Reddit.