# 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: 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.discordbotlist.com/implementing-voting.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.
