▲ 3 r/Devvit
When reviewing LLMs helper context at https://developers.reddit.com/docs/llms-full.txt claude code commented to me:
One naming discrepancy to flag
The docs' supported trigger list says onModActions (plural) but every code example and our devvit.json use onModAction (singular), matching the TypeScript type OnModActionRequest. Likely a doc typo — our code is correct.
this seems to be the case that it should be `onModAction` and not the plural but TBH I'm not fully confident of the devvit api yet
https://developers.reddit.com/docs/capabilities/server/triggers#supported-trigger-types
u/Fit_Decision — 16 days ago