# Add setting to replace "discourse" with name that matches slash command

**URL:** https://meta.discourse.org/t/add-setting-to-replace-discourse-with-name-that-matches-slash-command/71843
**Category:** Support
**Tags:** chat-integration
**Created:** [2017年十月11日 14:16 UTC](https://meta.discourse.org/t/add-setting-to-replace-discourse-with-name-that-matches-slash-command/71843 "2017-10-11T14:16:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [2017年十月11日 14:16 UTC](https://meta.discourse.org/t/add-setting-to-replace-discourse-with-name-that-matches-slash-command/71843/1 "2017-10-11T14:16:56Z")

</div>

I know this was raised before, but I can’t find the topic.

It’d be really nice if there were a way to replace the word “discourse” in the help text for the slash command, since we use `/sitename` as our slash command.

I can customize the entire help text, but then my documentation is “forked” and I might not know when it has to be updated.

The current help text looks like this:

* * *

_New rule:_ `/discourse [watch|follow|mute] [category] [tag:name]`  
(you must specify a rule type and at least one category or tag)

- _watch_ – notify this channel for new topics and new replies
- _follow_ – notify this channel for new topics
- _mute_ – block notifications to this channel

_Remove rule:_ `/discourse remove [rule number]`  
(`[rule number]` can be found by running `/discourse status`)

_List rules:_ `/discourse status`

_[Experimental] Post transcript:_ `/discourse post [n]`  
Create a draft topic on discourse containing the last `n` posts in this channel

_Help:_ `/discourse help`

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2017年十月11日 15:55 UTC](https://meta.discourse.org/t/add-setting-to-replace-discourse-with-name-that-matches-slash-command/71843/2 "2017-10-11T15:55:46Z")

</div>

Agreed, a site setting would be nice here, rather than having to modify the whole language string.

For reference, previous discussion was here:

> [@Set up Slack notifications using the discourse-chat-integration plugin](https://meta.discourse.org/t/set-up-slack-notifications-using-the-discourse-chat-integration-plugin/66730/7):
>
> re: rule generation. The help doc states: New rule: /discourse [watch|follow|mute] [category] [tag:name] (you must specify a rule type and at least one category or tag) watch – notify this channel for new topics and new replies follow – notify this channel for new topics mute – block notifications to this channel The integration doesn’t seem to be able to find tags. edit: Ugh.. I just saw the docs that the syntax for tags is [tag:name] facepalm .. sorry I missed that… I noticed that t…

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [2017年十月12日 05:30 UTC](https://meta.discourse.org/t/add-setting-to-replace-discourse-with-name-that-matches-slash-command/71843/3 "2017-10-12T05:30:24Z")

</div>

So far, I’ve found ‘Discourse’ in the following texts and customized them accordingly:

- chat\_integration.provider.slack.help
- chat\_integration.provider.slack.parse\_error
- chat\_integration.provider.slack.transcript.post\_to\_discourse

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2020年九月23日 19:31 UTC](https://meta.discourse.org/t/add-setting-to-replace-discourse-with-name-that-matches-slash-command/71843/4 "2020-09-23T19:31:46Z")

</div>


