ModAction
@devvit/public-api v0.12.12-dev
Interface: ModAction
Properties
createdAt
createdAt:
Date
When the action took place.
description?
optionaldescription:string
The string "Page modmail-stats edited: Daily update of the
modmail-stats (Wed Jul 02 2025 08:05:47 UTC+0200 (Europe/Amsterdam))" is
made up of description and details. The "Page modmail-stats edited" is
the "description".
details?
optionaldetails:string
The string "Page modmail-stats edited: Daily update of the
modmail-stats (Wed Jul 02 2025 08:05:47 UTC+0200 (Europe/Amsterdam))" is
made up of description and details. The "Daily update of the
modmail-stats (Wed Jul 02 2025 08:05:47 UTC+0200 (Europe/Amsterdam))" is
the "details".
id
id:
string
A string like "ModAction_1b1af634-5b87-11f0-a4f1-4ddd27626cc4"
identifying the ModAction.
moderatorId
moderatorId:
string
The t2_ id of the moderator.
moderatorName
moderatorName:
string
The username of the moderator.
subredditId
subredditId:
string
The ID of the subreddit the action took place.
subredditName
subredditName:
string
The name of the subreddit the action took place.
target?
optionaltarget:ModActionTarget
Some context of the affected item of the modaction.
type
type:
ModActionType
The type of the action. Think of what happened.