mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 15:33:47 +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) ``` |
||
---|---|---|
.. | ||
discourse_automation | ||
scriptable_spec.rb | ||
triggerable_spec.rb |