mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 01:53:46 +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 |