mirror of
https://github.com/discourse/discourse.git
synced 2024-12-26 08:43:45 +08:00
268213a93c
The script `send_chat_message` when used with the `post_created_edited` trigger now accepts `{{post_quote}}` as placeholder for the value of `message`. This is made possible by a new method in `utils`. Usage: ```ruby placeholders["foo"] = utils.build_quote(post) ``` |
||
---|---|---|
.. | ||
scripts | ||
triggers | ||
engine.rb | ||
event_handlers.rb | ||
plugin_instance_extension.rb | ||
post_extension.rb | ||
scriptable.rb | ||
scripts.rb | ||
stalled_topic_finder.rb | ||
triggerable.rb | ||
triggers.rb |