# Edit join-leave messages

## With the dashboard

{% content-ref url="/pages/lOnCYaZ1cu9sTOWhfvYr" %}
[Edit log messages with the dashboard](/general-topics/invite-tracking/edit-join-leave-messages/edit-log-messages-with-the-dashboard.md)
{% endcontent-ref %}

## Using commands

{% content-ref url="/pages/cvNSImTuUWpwEpbyRuah" %}
[Edit log messages using commands](/general-topics/invite-tracking/edit-join-leave-messages/edit-log-messages-using-commands.md)
{% endcontent-ref %}

## Placeholders

Placeholders (also called variables) allow you to customize join and leave messages following your needs

**● For join and leave messages**

<table><thead><tr><th width="281.3333333333333"></th><th>Example</th><th>Description</th></tr></thead><tbody><tr><td><code>{memberName}</code></td><td>chaun14</td><td>The discord username of the member.</td></tr><tr><td><code>{memberId}</code></td><td>417977361011572747</td><td>The discord ID of the member.</td></tr><tr><td><code>{memberFullName}</code></td><td>chaun14#1403</td><td>The username and discriminator of the member.</td></tr><tr><td><code>{memberMention}</code></td><td>@chaun14</td><td>The mention of the member (they will be pinged).</td></tr><tr><td><code>{memberImage}</code></td><td>[URL]</td><td>URL of the member's avatar.</td></tr><tr><td><code>{memberCreatedDate}</code></td><td>November 5th 2020, 8:00:36 pm</td><td>Date the discord user account was created.</td></tr><tr><td><code>{memberCreatedDateNew}</code></td><td><strong>November 3, 2022 at 1:48 PM</strong> <em>(&#x3C;t:1667479680:f>)</em></td><td>Display member account creation date in a discord  integrated date </td></tr><tr><td><code>{memberCreatedDuration}</code></td><td>3 months</td><td>Duration since the discord user account was created</td></tr><tr><td><code>{memberCreatedSince}</code></td><td>2 days ago</td><td>Display since when the member account has been created</td></tr><tr><td><code>{memberCreatedSinceNew}</code></td><td><strong>2 days ago</strong> <em>(&#x3C;t:1667479680:R>)</em></td><td>Display since when the member account has been created in a discord integrated date</td></tr><tr><td><code>{inviteCode}</code></td><td>CxE6gyT</td><td>The invite code used.</td></tr><tr><td><code>{inviteValidCount}</code> aka <code>{inviteCount}</code></td><td>42</td><td>Gives the current invites count of the inviter.</td></tr><tr><td><code>{inviteBonusCount}</code></td><td>12</td><td>Number of invites the inviter has as bonus (assigned manually with <strong>/addinvites</strong>)</td></tr><tr><td><code>{inviteFakeCount}</code></td><td>18</td><td>Number of fake invites the inviter has.</td></tr><tr><td><code>{inviteLeaveCount}</code></td><td>5</td><td>Number of invites that were removed because the member left.</td></tr><tr><td><code>{inviteTotalCount}</code></td><td>69</td><td>Total number of joins &#x26; bonuses registered for this inviter (inviteValidCount + inviteBonusCount + inviteFakeCount)</td></tr><tr><td><code>{inviterName}</code></td><td>Spokloo</td><td>The discord username of the inviter.</td></tr><tr><td><code>{inviterId}</code></td><td>302901933419790347</td><td>The discord ID of the inviter.</td></tr><tr><td><code>{inviterMention}</code></td><td>@Spokloo</td><td>The mention of the inviter (user will be pinged).</td></tr><tr><td><code>{inviterFullName}</code></td><td>Spokloo#7791</td><td>The username and discriminator of the inviter.</td></tr><tr><td><code>{inviterCreatedDate}</code></td><td><strong>April 15, 2017 at 1:48 PM</strong> <em>(&#x3C;t:1492260480:f>)</em></td><td>Display invite account creation date in a discord  integrated date </td></tr><tr><td><code>{inviterCreatedSince}</code></td><td><strong>6 years ago</strong> <em>(&#x3C;t:1492260480:R>)</em></td><td>Display since when the inviter account has been created in a discord integrated date</td></tr><tr><td><code>{guildMemberCount}</code></td><td>12357</td><td>Number of members your server has in total.</td></tr><tr><td><code>{guildName}</code></td><td>InviteLogger | Support 🌐</td><td>Gives the current name of the server.</td></tr><tr><td><code>{guildIcon}</code></td><td>[URL]</td><td>URL of the server's icon.</td></tr></tbody></table>

&#x20;**● For join only messages**

<table><thead><tr><th width="270.3333333333333"></th><th>Example</th><th>Description</th></tr></thead><tbody><tr><td><code>{inviterImage}</code></td><td>[URL]</td><td>URL of the inviter's avatar.</td></tr><tr><td><code>{inviteUses}</code></td><td>3</td><td>Number of use of this invite code</td></tr><tr><td><code>{memberJoinedTime12}</code></td><td>1:56:24 pm</td><td>The time the member arrived in a 12h format</td></tr><tr><td><code>{memberJoinedTime24}</code></td><td>01:56:24</td><td>The time the member arrived in a 24h format</td></tr><tr><td><code>{memberJoinedTimeNew}</code></td><td><strong>1:56:24 pm</strong> <em>(&#x3C;t:1667479680:T>)</em></td><td>The time the member arrived in a discord integrated date (auto format)</td></tr></tbody></table>

&#x20;**● For leave only messages**

<table><thead><tr><th width="279.3333333333333"></th><th>Example</th><th>Description</th></tr></thead><tbody><tr><td><code>{memberJoinedAtDate}</code></td><td>November 5th 2020, 8:00:36 pm</td><td>Date when the member last joined this server</td></tr><tr><td><code>{memberJoinedAtDateNew}</code></td><td><strong>November 3, 2022 at 1:48 PM</strong> <em>(&#x3C;t:1667479680:f>)</em></td><td>Date when the member last joined this server in a discord integrated date format</td></tr><tr><td><code>{memberJoinedAtTimeAgo}</code></td><td>2 days ago</td><td>Display relatively when the member has joined</td></tr><tr><td><code>{memberJoinedAtTimeAgoNew}</code></td><td><strong>2 days ago</strong> <em>(&#x3C;t:1667479680:R>)</em></td><td>Display relatively when the member has joined in a discord integrated format</td></tr><tr><td><code>{memberJoinDuration}</code></td><td>3 months</td><td>Time the member spent on the server</td></tr></tbody></table>

**● With inviteLogger gold**

|                  | Example                                      | Description                                                                                                                         |
| ---------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| {sourceMessage}  | They have joined from the source **Twitter** | The complete sentence which will be added on your join message (can be edited with **/sourcesConfig setMessage your message here**) |
| {sourceName}     | Twitter                                      | The name of your source (set on source setup)                                                                                       |
| {sourceDesc}     | Users who come from twitter                  | The description of your source (set on source setup)                                                                                |
| {sourceRoleName} | twitter                                      | The name of your source role (set on source setup)                                                                                  |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.invitelogger.me/general-topics/invite-tracking/edit-join-leave-messages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
