peterhanania / voting-system

A voting system to handle your bot vote's from top.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vote-system

A voting system to handle your bot vote's from top.gg with MONGO DB.

How to Use?

{
      mongo -> Your MONGO Database URL
      dbl_secret --> Top.gg Authorization (Found here https://top.gg/bot/YOUR-BOT-ID/webhooks
      bot_token --> Your bot's token (found here https://discord.com/developers/applications)
      bot_name --> Your discord bot's name
      bot_logo --> Bot logo's URL
      port --> Website's Port (default: 5000)
}

Webhooks:

Let'say the webhook you copied is: https://discord.com/api/webhooks/827092347325644200/EJWOSlDFNRiux_XBG4Fbj0wJyNTM4riPDyO0Qe6zAwr1SSQZpfhv3Bzbfa9AQkDqlImF

{
      webhook_id --> 827092347325644200
      webhook_url --> EJWOSlDFNRiux_XBG4Fbj0wJyNTM4riPDyO0Qe6zAwr1SSQZpfhv3Bzbfa9AQkDqlImF 
}

Make sure the dbl_secret Is the same authorization in top.gg or It will not work.
Make sure the Webhook URL on top.gg is the website-name/dblwebhook or It will not work.


Any questions? DM me on Discord.

About

A voting system to handle your bot vote's from top.gg


Languages

Language:JavaScript 100.0%