# Editing

{% hint style="info" %}
This requires you to already have an existing setup for the server you are running the command in, on the platform you want to edit
{% endhint %}

To edit a vote tracker, simply run the `/trackers edit` command and fill in the required options.

<figure><img src="https://1720966575-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeFEtDi3YGaE1Ne03okdh%2Fuploads%2Fgit-blob-c35eeb497df30761c7059182a6ee9d69f28830ce%2Ftracker_edit.png?alt=media" alt=""><figcaption><p>Trackers Edit Command</p></figcaption></figure>

Use the optional `channel`, `role` & `duration` parameters to change the respective settings for the vote tracker. Any options left blank will retain their previous value

{% tabs %}
{% tab title="Required Options" %}

* `type` - The type of tracker (select **Server**)
* `tracker` - The tracker you wish to edit
  {% endtab %}

{% tab title="Optional Options" %}

* `channel` - Channel to send your vote message in
* `role` - Role to be given to users after they vote
* `duration` - How long user should keep the role specified above
  {% endtab %}
  {% endtabs %}

<figure><img src="https://1720966575-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeFEtDi3YGaE1Ne03okdh%2Fuploads%2Fgit-blob-e8a8e640bcce11ecc04cece9866d96033ad5d5da%2Ftrackers_edit_server.png?alt=media" alt=""><figcaption><p>Options have been filled out</p></figcaption></figure>

{% hint style="info" %}
Other rewards can be managed via the `/rewards` command (more details [here](https://github.com/vote-manager/docs/blob/main/servers/broken-reference/README.md))
{% endhint %}

Once you have run the `/trackers edit` command, the vote message embed will appear, allowing your vote embed to be updated. If you wish to leave your vote embed the same, simply press <mark style="color:purple;">**Submit**</mark>

<figure><img src="https://1720966575-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeFEtDi3YGaE1Ne03okdh%2Fuploads%2Fgit-blob-5c7e358862abfb84232aba2cc138bbab2126c11d%2FServer%20Create%20%233.png?alt=media" alt=""><figcaption><p>Vote Message Embed Builder</p></figcaption></figure>

{% hint style="info" %}
You can use variables to have vote information in your vote message. see [here](https://docs.votemanager.xyz/variables) for more details
{% endhint %}

{% tabs %}
{% tab title="Required Fields" %}

* **Title** - title of the embed
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Variables are supported</mark>
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Markdown is supported</mark>
* **Color** - color of the left border on the embed
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Variables are supported</mark>
  * <mark style="color:red;">**✗**</mark> <mark style="color:red;">- Markdown is not supported</mark>
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Allowed formats</mark>
    * Hex code (Ex `#0bbbb7`)
    * Integer (Ex `0x0bbbb7`)
    * RGB color values (Ex `11, 187, 183`)
    * Preset (Ex `Red`)
* **Description** - main content of the embed
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Variables are supported</mark>
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Markdown is supported</mark>
* **Footer** - small text at the bottom of the embed
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Variables are supported</mark>
  * <mark style="color:red;">**✗**</mark> <mark style="color:red;">- Markdown is not supported</mark>
    {% endtab %}

{% tab title="Optional Fields" %}

* **Image** - Big image in the embed. Appears below the description
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Variables are supported</mark>
  * <mark style="color:red;">**✗**</mark> <mark style="color:red;">- Markdown is not supported</mark>
  * <mark style="color:green;">**✓**</mark> <mark style="color:green;">- Allowed formats</mark>
    * Any `https`or `http` link to an image file
      {% endtab %}
      {% endtabs %}
