Javascript Widget

Discord Bots provides a JavaScript widget that can be implemented in your site.

Example of the Javascript Widget

Firstly, include the JavaScript bundle in your site. The snippet below uses the async flag meaning loading this script does not hold up the rest of the site.

<script src="https://discordbotlist.com/widget/index.js" async></script>

Now, place the following element where you want the widget to be on the site. Replace BOTID with your bot's ID.

<dbl-widget bot-id="bot-BOTID"></dbl-widget>