# Set message button text based on the PM's recipients

**URL:** <https://meta.discourse.org/t/set-message-button-text-based-on-the-pms-recipients/279418>\
**Category:** Product Support\
**Created:** [September 18, 2023, 4:02pm UTC](https://meta.discourse.org/t/set-message-button-text-based-on-the-pms-recipients/279418 "2023-09-18T16:02:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [September 18, 2023, 5:03pm UTC](https://meta.discourse.org/t/set-message-button-text-based-on-the-pms-recipients/279418/2 "2023-09-18T17:03:20Z")

</div>

> [@Aizada\_M](#):
>
> I want the name of the “Message” button to remain for all personal messages in the composer, with the exception of personal messages to forum moderators, where instead of the “Message” button there will be a “Help” button.

What might work for you is to add two reply templates. For example:

```plaintext
[wrap=template key="message-sally" action="create_pm" usernames="sally" title="Hi Sally!" label="Send Sally a PM"]
- [] task 1
- [] task 2
[/wrap]

[wrap=template key="message-help" action="create_pm" usernames="simon" title="Please help!" label="Get Help"]
- [] task 1
- [] task 2
[/wrap]

```

Let me know if I am misunderstanding what you are trying to do.

While looking at this topic’s OP, I noticed that it says `username` can be used as an option. The correct name for the option is `usernames` (with an `s`.) I’ll update the topic to fix that.

---

_[View the full topic](https://meta.discourse.org/t/set-message-button-text-based-on-the-pms-recipients/279418)._
