> ## Documentation Index
> Fetch the complete documentation index at: https://docs.minestorecms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Editing Discord Messages

> Learn how to edit a Discord message about new purchases.

<Note>
  You need to login in your VPS **SFTP or SSH** to edit the **Discord message**.
</Note>

## **Edit Discord Message**

1. Login to your **VPS** using **SFTP Protocol**.
2. Navigate to the next file: `/var/www/minestore/app/Http/Controllers/Discord/SendMessageController.php`.
3. Open the file with the editor of your choice.
4. Edit `$data` array content to change the **Discord message**.

## **Edit Discord Message (for outdated versions)**

1. Login to your **VPS** using **SFTP Protocol**.
2. Navigate to the next path: `/var/www/minestore/app/Http/Controllers/ItemsController.php`.
3. Use the **Search** to find the following code:

```php theme={null}
public static function sendSuccessfulDiscord($username, $itemsCart, $payment, $setting): void
```

4. Edit `$data` array content to change the **Discord message**.
