feat: action mods (+ tipping example) by stephancill · Pull Request #151 · mod-protocol/mod · GitHub
Skip to content

feat: action mods (+ tipping example)#151

Open
stephancill wants to merge 7 commits into
mainfrom
feat/action-mods
Open

feat: action mods (+ tipping example)#151
stephancill wants to merge 7 commits into
mainfrom
feat/action-mods

Conversation

@stephancill

@stephancill stephancill commented Jan 23, 2024

Copy link
Copy Markdown
Contributor

Change Summary

This PR adds a new mod type called Action Mods, which are triggered by post content. It includes a tipping mod which is of this new type.

Further ideas:

  • onSetInput and onAddEmbed callbacks should apply to the reply of the post being called on
  • onSetPostContent - a callback for modifying post content (this can be done by adding a section for modifications by the Mod)

Merge Checklist

  • PR has a changeset
  • PR includes documentation if necessary
  • PR updates the rich-embed examples if necessary
  • includes a parallel PR for Mod-starter and the gateway if necessary

@changeset-bot

changeset-bot Bot commented Jan 23, 2024

Copy link
Copy Markdown

@vercel

vercel Bot commented Jan 23, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 11:07am
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 11:07am
example-nextjs-shadcn ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 11:07am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant