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

# Implementing Voting

{% hint style="info" %}
Using discord.js or any other node.js library? [Check out the official discordbotlist library!](https://www.npmjs.com/package/discordbotlist)
{% endhint %}

Voting is what drives visibility on discordbotlist.com. By rewarding users for voting, you can create a loyal user base that will continue to vote for your bot and increase your visibility on the list.

Vote rewards can be used to unlock features within your bot, such as exclusive commands or currency. This is a great way to reward your loyal users and encourage them to use and share your bot even more. By unlocking new features, you can incentivise users to vote more often and rank your bot higher on the list.

Bots are ranked by votes on all pages, based on the number of votes they have received in the past 12 hours. Users can vote once per 12 hours.

A vote webhook can be set on the "Edit Bot" page - alongside a secret to verify the HTTP request is coming from discordbotlist.com. Use this to reward your users. See more - [Vote Webhooks](/vote-webhooks.md)

Alternatively, you can use the [GET Votes](/vote-api.md) endpoint.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.discordbotlist.com/implementing-voting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
