Discourse Canned Replies

AI-generated summary

The Discourse Canned Replies plugin, now deprecated, allowed staff to save and reuse frequently posted replies via a composer modal with variable support (e.g., %{reply_to_username,fallback:there}). Variables like my_username, original_poster_name, and reply_to_or_last_poster_username could be inserted into titles and bodies, with fallbacks if values were missing. The plugin included a default reply when the list was empty and let users edit or remove replies. However, it no longer receives updates — users are directed to use Discourse Templates instead. The GitHub repository is no longer maintained. Features included auto-populating reply content from the composer and variable replacement for dynamic personalization (e.g., @username, @op). A TODO item to populate titles when creating new topics was marked complete. Discourse announced the deprecation clearly with a :mega: notice and provided visual guides for using the modal interface. The plugin aimed to reduce repetitive typing for moderators and staff.

:mega: This plugin is deprecated and won´t receive any new official updates.

Please use Discourse Templates instead.

:discourse2: Summary Discourse Canned Replies allows staff members to create and save replies for repeated use, saving you a lot of time typing and posting the replies you post more frequently.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-canned-replies
:open_book: Install Guide This plugin is deprecated

Features

To use the canned replies you must first open the reply composer and click the extras button.

You’ll then be presented with the insert canned reply modal where you can create new replies and browse, use or edit existing ones.

Configuration

Pre-filled Variables

Canned Replies also now supports variables

Example:

Hi %{reply_to_username,fallback:there},

...

Regards,
%{my_name}

If the reply_to_username is not available, the canned reply will be:

Hi there,

...

Regards,
Arpit Jalan

Here are the available variables for canned reply:

  • my_username
  • my_name
  • original_poster_username
  • original_poster_name
  • reply_to_username
  • reply_to_name
  • last_poster_username
  • reply_to_or_last_poster_username.

All the above variables supports fallback text and will strip out the variable if fallback is not specified and the variable can’t be replaced.

Both canned reply title and body supports variable replacement.

Notes:

  • When creating new replies, the content text is automatically set as the current composer content.
  • The Remove button is in the Edit panel.
  • The replies list has one reply by default which is added whenever the list is empty.

CHANGELOG

  • Add new bullets when major features are committed here

TODO

  • Populate the title when creating a new topic
  • :white_check_mark: Add variables that will automatically be replaced when the reply is used, for example: @username or @op
78 « J'aime »