What plugin do they use? I don’t see anything, is it built in the plugin?
If I understand your question correctly, I think you’re looking for this example: https://perchance.org/programmatic-get-set-submit-comments-plugin-example#edit
Basically, if you have this in your HTML panel:
[com = commentsPlugin(options)]
Then you can write
com.submit("the text you want to submit on behalf of the user")
, and you can of course generate that text via the ai-text-plugin.You can get existing comments (to give them to the ai-text-plugin as part of the instruction which gets it to generate a comment) using
com.comments
. Also see these examples:- https://perchance.org/simple-comments-plugin-oncomment-example#edit
- https://perchance.org/comments-plugin-oncomment-example#edit
There is code in https://perchance.org/tabbed-comments-plugin-v1#edit which does what you want, but there’s a lot of other code in there too, so it’s not a very ‘educational’ example. Or if you just want to use that plugin, you can of course do that. Here’s an example: https://perchance.org/m56h7orowv#edit
“Add an AI chat button for their comments”? I don’t understand what that means.
Can you explain/show what an ‘ai chat button’ is?