> For the complete documentation index, see [llms.txt](https://docs.votemanager.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.votemanager.xyz/bots/edit.md).

# Editing

{% hint style="warning" %}
This requires you to already have an existing setup for the bot 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/BEivgnt6wChQgqZf1anY" 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 **Bot**)
* `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/JTGpFj8Nczlt4VFU79uQ" 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/bots/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/MFWxy2eQePK5VfgmqpUg" 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 %}
