| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An example on how to use webhooks to get votes for discordbots.org Official Docs
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
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.
| Back | FazBrowse Home | New Git URL |