Back to Snippets

Voter Only Commands Snippet.

This snippet prompts the user to vote for the bot on topgg and then claim in order to be able to run custom voter only commands that only work for voters.
How to Use?
Add all three commands in your app with the correct triggers:
- !vote – Prompts the user to go vote for the bot.
- !claim – Claim the reward after voting for the bot.
- !speical – After claiming the reward you'll be able to use special commands.
Avoid editing unless you know what you’re doing. Get a Api Key from top.gg's offical website. Make sure to add the required variables in your app.
Variables
- voter (value = false)
- voter-timestamp (value = empty)
Credits
Inspired by a random idea that poped up in my head.

$nomention
$reply

$title[__Vote For $username[$botID]__]
$description[Vote for $username[$botID] on [top.gg!\](https://top.gg/bot/$botID/vote).
You can unlock the following commands after voting and using `!claim`:
1. `!special` -> The special command.
2. go on as you like
]
$color[#36393e] 
$footer[$username[$botID] | Vote]
$footerIcon[$userAvatar[$botID]]