> For the complete documentation index, see [llms.txt](https://autotask.gitbook.io/autotask/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://autotask.gitbook.io/autotask/slash-commands/poll.md).

# Poll

Ask the opinion of your community!

To evolve your server you could do some polls for your community.&#x20;

<figure><img src="https://289381920-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjiwciuVNSn2MRHfC4lPp%2Fuploads%2FWYW2F5AKUJ2KsUPouWr9%2Fpoll-img.png?alt=media&amp;token=c9d81d51-e03b-4797-9420-691bde305eec" alt="" width="563"><figcaption></figcaption></figure>

## How to create a poll

For create a poll you juste have to use <mark style="color:blue;">/poll create</mark>. But you have to fill 4 options because they are obligatory.

### Required fields

There are *<mark style="color:blue;">question</mark>*, *<mark style="color:blue;">choices</mark>*, *<mark style="color:blue;">results</mark>* and *<mark style="color:blue;">time</mark>*. In the option "question" you to have to  \
\
\- *<mark style="color:blue;">Question</mark>* : Write the question that will be asked to your community.\
\- *<mark style="color:blue;">Choices</mark>* : Put the different decision at the question. You must split the different choices with "; " (don't forget the space!)\
\- *<mark style="color:blue;">Results</mark>* : You have just to put <mark style="color:blue;">True</mark> or <mark style="color:blue;">False</mark>. If you put <mark style="color:blue;">True</mark>, people can see the actual results. But if you choose <mark style="color:blue;">False</mark> nobody can see the results until the end of the poll.\
\- *<mark style="color:blue;">Time</mark>* : You have to put the duration of the poll. There is a format to respect: days, hours, minutes. For example "2d6h8m". d --> days, h --> hours and m --> minutes. The max is 7days.

{% hint style="info" %}
Now you know the different required fields but there are other options, for more advanced polls!
{% endhint %}

### Not required fields

If you want to upgrade your poll you can use other fields. There are *<mark style="color:blue;">description</mark>*, *<mark style="color:blue;">single</mark>*, *<mark style="color:blue;">channel</mark>* and *<mark style="color:blue;">req\_role</mark>*.\
\
\- *<mark style="color:blue;">Description</mark>* : It's to give a detailed description for the poll.\
\- *<mark style="color:blue;">Multiple</mark>* : You have to put <mark style="color:blue;">True</mark> or <mark style="color:blue;">False</mark>. If you choose <mark style="color:blue;">True</mark> people can take only one decision. If you choose <mark style="color:blue;">False</mark> people can choice several decisions (<mark style="color:blue;">False</mark> is by default when you don't use *<mark style="color:blue;">Single</mark>* option)\
\- *<mark style="color:blue;">Channel</mark>* : Choose any channel of your server where the poll will be sent!\
\- *<mark style="color:blue;">Req\_role</mark>* : Choose one role that everyone NEEDS to have to choose any answer to the poll.
