# 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="/files/3ec38RXIN5UWdBmabM1Z" 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="/files/x6xK5ZwuIYRbzgKXqFJj" 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="/files/fZtQYBBrVCerY1axc2m2" 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](/variables.md) 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 %}


---

# 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.votemanager.xyz/servers/edit.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.
