# Canned responses to help moderators encourage civilized discourse

**URL:** https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680
**Category:** Feature
**Created:** [19.Июнь.2014 15:18:50 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680 "2014-06-19T15:18:50Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [19.Июнь.2014 15:18:50 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/1 "2014-06-19T15:18:50Z")

</div>

So one of the great things about Discourse is it’s designed to help encourage actual **civilized discourse**. That’s a great goal, but in addition to software, it depends on watchful and tactful mentors.

I think a lot of moderators don’t know how to (in words) tactfully discourage unhelpful behavior, and encourage helpful behavior. **What would people think about having something like “canned responses” for moderators?** These could either be sent to people via private message or by replying to a post.

In addition to the software to allow moderators to quickly choose from a pre-written message (both provided by default with the system and user-definable), it’d be necessary to collect some wise, tactful messages to ship.

**Is this a crazy idea? Would anyone else find it useful for their system’s moderators?**

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [19.Июнь.2014 19:19:14 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/2 "2014-06-19T19:19:14Z")

</div>

Plugin territory I’d say, but it’d be really cool if we had a simple way of sharing our canned responses with each other.

---

<div class="post-metadata">

### Author: ![Sander78](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sander78/32/296615_2.png) [@Sander78](https://meta.discourse.org/u/Sander78)
#### Post date: [19.Июнь.2014 19:49:26 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/3 "2014-06-19T19:49:26Z")

</div>

I like the idea and I think a lot of forums would use it. But it’s still plugin territory because there are so many ways to handle this.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [19.Июнь.2014 19:59:54 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/4 "2014-06-19T19:59:54Z")

</div>

It has definitely been discussed in the context of inserting arbitrary staff messages (the yellow background ones).

Right now those are only inserted automatically based on certain staff actions (close, pin, archive, etc) but we eventually want people to be able to “speak in the moderator voice” by posting an official staff message with arbitrary text in the topic. That text would probably offer a series of templates that the site operators could control.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [19.Июнь.2014 20:02:05 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/5 "2014-06-19T20:02:05Z")

</div>

[OSQA](http://www.osqa.net/) (is it still even an active open source project?) has a decent way for moderators/admins to add comments to a question. There are some out-of-the-box comments for relevance, etc., but the admin can add her own as well.

A lot of people follow the “praise in public, criticize in private” adage, but many others think there is a time to correct publicly encourage different behavior, so this “thing” (plugin or otherwise) should probably be able to handle both scenarios.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [18.Ноябрь.2014 02:40:40 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/6 "2014-11-18T02:40:40Z")

</div>

This is related to my ticketing system proposal. Custom flags also.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [30.Январь.2016 23:21:21 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/7 "2016-01-30T23:21:21Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/9/2/921138cde26ef1f7b52d78e56198d67fca13fc76.png)

Saw a nice mockup for GitHub!

I definitely think canned responses is something we want to get to, but it feels more like a Discourse created plugin than a core feature.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [31.Январь.2016 07:58:35 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/8 "2016-01-31T07:58:35Z")

</div>

The above mockup matches what I had in mind exactly. I think it’'s also probably not something that everyone would use, but would be nice for sites with more active moderation.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [02.Февраль.2016 21:26:51 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/9 "2016-02-02T21:26:51Z")

</div>

I started working on a [template manager](https://meta.discourse.org/t/best-way-to-create-an-interface-for-templates/38016) to similarly insert text into a message.

Here’s what I have so far, but templates now all live in code.

[https://github.com/pfaffman/discourse-plugin-template-manager](https://github.com/pfaffman/discourse-plugin-template-manager)

My next step was to create a category for templates and have the template manager insert text from those topics. I can see lots of reasons to be able to insert a snippet text into messages. For example, want to add a poll creator to the composer (without installing the perfectly good plugin that does that)? Create a poll template and let users insert and edit it.

I’m new to ruby/rails/ember and am currently stuck on the next step.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [03.Февраль.2016 18:47:53 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/10 "2016-02-03T18:47:53Z")

</div>

This approach sounds like it might work! Sorry I’m can’t be more helpful on the coding side. 🙂

---

<div class="post-metadata">

### Author: ![Einsteino](https://avatars.discourse-cdn.com/v4/letter/e/e95f7d/32.png) [@Einsteino](https://meta.discourse.org/u/Einsteino)
#### Post date: [22.Март.2016 06:14:52 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/11 "2016-03-22T06:14:52Z")

</div>

I read about this in the GSoC ideas page, and this seems like a great idea. I installed the template plugin you made, and the templates are all checkbox-related.

I’m reading through the code now. By ‘category for templates’ you mean categories like _text_, _polls_, etc. right? Can I spend a couple of days working on this to get an estimate of how well I could work on this idea in the future?

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [22.Март.2016 06:36:52 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/12 "2016-03-22T06:36:52Z")

</div>

I think he meant creating a unique staff-only category, and then within that private category create a new topic for each template. (I could be wrong.)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [22.Март.2016 13:46:47 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/13 "2016-03-22T13:46:47Z")

</div>

The current version is a proof of concept (hence the worthless for anyone else templates).

I first thought that templates would be entered in the amon interface, decided that the way to go would be to create a category for templates, making it possible for non administrators to contribute templates and a familiar means to create them.

If seemed like an easy to move forward, except I didn’t have the skills to pull it off. I’d be elated if you’d have a look.

---

<div class="post-metadata">

### Author: ![Shriyansh\_Agrawal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shriyansh_agrawal/32/121154_2.png) [@Shriyansh\_Agrawal](https://meta.discourse.org/u/Shriyansh_Agrawal)
#### Post date: [23.Март.2016 13:13:17 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/14 "2016-03-23T13:13:17Z")

</div>

Hello everyone ,  
I have gone through “github-canned-responses” to get little insight of the idea, and believe me I have been fascinated by the idea.  
Also I’m a GSOC aspirant , and want to work on this idea through this summer .  
@pfaffman , you stated

> [@pfaffman](#):
>
> The current version is a proof of concept (hence the worthless for anyone else templates).

So , do we need to work on another better open-source template or are we going to work on same ??  
Also it would be helpful if someone give me some more insight on the idea and template to work on along with all specific requirements we need .

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [23.Март.2016 16:12:59 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/15 "2016-03-23T16:12:59Z")

</div>

Caveat: I am not a member of the core team or even a developer with enough skills to provide much support, so everything I say may be wrong.

I think that the UX of the plugin that I wrote is good enough on the composer side. I think that what I have in mind should be fairly easy to accomplish and would be an indication that you’re up for development in Discourse (you read [this](http://blog.discourse.org/2016/03/the-ideal-gsoc-applicant/) right?).

It seems that this should be a good beginner’s project in discourse plugin development (but after conceiving it, I found that I am a ways off from being able to pull it off myself).

Here’s what I think you need to do:

- add a template-topic selector to admin/settings
- modify the template code that I have to pull topics out of the template category rather than the hard-coded ones that I have
- modify the template code that I have to pull the raw topic text from the topic and stick it in

It seems pretty simple. I want to use it to make it easy for students to attach rubrics to topics in which they show that they have solved some challenge. I think that the idea has general appeal as it would then be an easy way to extend the editor to insert forms, pre-written polls, and so on.

---

<div class="post-metadata">

### Author: ![Shriyansh\_Agrawal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shriyansh_agrawal/32/121154_2.png) [@Shriyansh\_Agrawal](https://meta.discourse.org/u/Shriyansh_Agrawal)
#### Post date: [24.Март.2016 04:33:29 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/16 "2016-03-24T04:33:29Z")

</div>

Okay , will get back to you by tonight .  
Is it necessary to deliver the idea within a couple of days ?? 🙄  
As the deadline of submitting proposal is very close..  
And right now I want to focus on righting proposal for discourse 🤕

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [24.Март.2016 17:01:47 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/17 "2016-03-24T17:01:47Z")

</div>

> [@Shriyansh\_Agrawal](#):
>
> Is it necessary to deliver the idea within a couple of days ??

Yes, you should have your application in by tomorrow. That being said, we don’t put that much weight on the applications themselves. The most important part is demonstrating an understanding of Discourse and its related frameworks by contributing Pull Requests to core or active plugins.

---

<div class="post-metadata">

### Author: ![Shriyansh\_Agrawal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shriyansh_agrawal/32/121154_2.png) [@Shriyansh\_Agrawal](https://meta.discourse.org/u/Shriyansh_Agrawal)
#### Post date: [25.Март.2016 08:24:50 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/18 "2016-03-25T08:24:50Z")

</div>

> [@erlend\_sh](#):
>
> That being said, we don’t put that much weight on the applications themselves

I respect your concern , but without doing proposal submission I can’t get into the game , so I prefer first writing proposal and submit it within some hours and start begin the execution , 🤔  
Although I already got a vague idea of project after doing some research on it , so I think I can write the proposal now.  
I assure you that I will be give my full time on this idea after submitting proposal and will try to submit a PR too , as soon as possible , possibly in 24 hrs. 🤕

---

<div class="post-metadata">

### Author: ![Shriyansh\_Agrawal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shriyansh_agrawal/32/121154_2.png) [@Shriyansh\_Agrawal](https://meta.discourse.org/u/Shriyansh_Agrawal)
#### Post date: [25.Март.2016 11:21:00 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/19 "2016-03-25T11:21:00Z")

</div>

Currently , I’m working on this .  
Is there any irc or any other communication medium , through which I can talk with you.  
I need to discuss about some specs.

> [@pfaffman](#):
>
> add a template-topic selector to admin/settings

I guess , this is already been implemented under your plugin??

---

<div class="post-metadata">

### Author: ![Einsteino](https://avatars.discourse-cdn.com/v4/letter/e/e95f7d/32.png) [@Einsteino](https://meta.discourse.org/u/Einsteino)
#### Post date: [25.Март.2016 19:15:36 UTC](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680/20 "2016-03-25T19:15:36Z")

</div>

Okay. @pfaffman merged my first two pull requests to the plugin, and the changes made are:

- Addition of a field in siteSettings where the admin can enter the canned responses, in the format `name1:message1|name2:message2`

- Changes to the controller - now, it pulls these responses from siteSettings. Deleted the hard-coded responses.

I think it can be used as a rough, temporary solution. Members of the community, please try it out and tell me if there are any bugs / anything that can be improved, for now. 😃

 ![](https://global.discourse-cdn.com/meta/original/3X/a/2/a2ea06a78f1ad661154283dc2bcf6e985248f61e.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/0/4/04d75fc659b53a58067819c2cd459622b4ff50c9.png)

[Next page](https://meta.discourse.org/t/canned-responses-to-help-moderators-encourage-civilized-discourse/16680.md?page=2)
