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

Represent a moderator action.

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

Initialize a AsyncPRAWBase instance.


reddit – An instance of Reddit.

property mod: asyncpraw.models.Redditor

Return the Redditor who the action was issued by.

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

Return an instance of cls from data.

  • data – The structured data.

  • reddit – An instance of Reddit.