Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 1.32 KB

README.md

File metadata and controls

16 lines (14 loc) · 1.32 KB

DBL-Webhook-Example

An example on how to use webhooks to get votes for discordbots.org Official Docs

Libs

This uses better-Sqlite3 to show how YOU can make a webhook with your bot and save it to a database. This also uses dblapi.js for the webhook lib

Setup

Starting out

To start, go to your bot's edit page on discordbots.org and scroll to the bottom where you'll find a section on webhooks. Point the domain to yourhostname/dblwebhook (which is the default). Then set the password to whatever you want. You will need it for later.

What you need to change