Widgets
Server status card widget
Your server's name, icon and three public counts, as a copy-paste embed.
The server status card shows your Discord server's name and icon plus three public counts: members on the levels board, members who have bumped, and members on the economy board. It is not a live online count, Dispresso does not publish who is online.
What you need#
- Your Discord server listed on the Dispresso directory and approved (not marked 18+).
- Somewhere on a website that lets you paste HTML.
Find your server id#
- 1In Discord, open User Settings, Advanced and turn on Developer Mode.
- 2Right click your server icon and choose Copy Server ID.
- 3Paste it as
data-guild. If your server has a vanity link on Dispresso (dispresso.co/servers/your-name), that name works as well.
Paste it#
Widget
<div data-dispresso-status data-guild="YOUR_SERVER_ID"></div>
<script src="https://dispresso.co/widgets/server-status.js?v=3" async></script>Replace YOUR_SERVER_ID with the id you copied. How to paste it into your site builder is in Put a widget on any website.
Options#
| Attribute | What it does | Default |
|---|---|---|
data-guild | Your server's id or vanity name. Required. | None |
data-theme | light, dark or auto | auto, the visitor's system theme |
data-accent | A hex color such as #5865f2, or blue, violet, green, teal, pink, red, amber, orange, slate | Dispresso orange |
data-size | full or compact | full |
Width, corner radius and font beyond that: give the div an id, as shown under Styling in the widgets hub.
Common mistakes#
| What you see | Usually because | Fix |
|---|---|---|
| It says the server's status is not public right now | The server is not listed, not approved, or marked 18+ | List it with /bump and wait for approval. |
| The counts are lower than my member count | The card counts members who took part in each board, not everyone in the server | That is what it is meant to show: people actually active. |
| Nothing appears, not even a message | The div and script were pasted into a builder that strips scripts, or the script tag was cut off | Paste both lines together, and check your builder allows custom code. See Put a widget on any website. |
Questions people ask#
Can it show how many people are online right now?#
No. Discord's online counts are not part of the public data. For a game server's live player count use the game server card instead.
Does it show a join button?#
No, keep your own invite link next to it.