Your mission
A live widget with deliberate public fields and a checked embed in its destination. This workshop uses a small first rollout so you can see the complete result before opening it to the whole community. The example is a starting recipe; keep your server's own rules and audience in mind when choosing the final values.
Step 1: Prepare your server
Open your server dashboard and select the correct server, then open Website widgets. Enable the feature before running the example. Decide whether you need a website card or an OBS overlay. Choose a data source already configured in the server, such as Levels, Events or a live boss.
Read Roles and permissions if a destination or role cannot be selected. For channel-based actions, check permissions in the actual channel, including its category overrides. For automatic role changes, the bot needs Manage Roles and a position above the role it will assign. Only grant the permissions needed by your chosen workflow.
Step 2: Build your first working example
1. Create the widget
Pick the type, name and displayed fields. Set title, theme, accent, layout and item count. Preview the widget with real data and also consider its empty state.
2. Set the publishing boundary
Choose allowed domains for website embedding and inspect the join destination. For an overlay, set preset, anchor, scale, panel style and safe area to fit the stream canvas.
3. Embed and verify
Copy the generated embed or browser-source address into the destination. Inspect it as a visitor, test narrow screens for a website and check the actual stream canvas for OBS. Save edits to the existing widget to keep its identity stable.
After changing the server-wide settings, use Save changes. An item editor, draft, preview or test action is a separate part of the workflow: read its save or publish action before expecting a public Discord post. Reopen the saved item to confirm the destination, access rules and values you intended.
Step 3: Understand the settings
Widgets have individual editors rather than global feature settings. Create a widget, configure its type and public fields, then use its generated embed. Website types and OBS types expose different display options.
Step 4: Configure the items inside this feature
Server-wide settings and individual entries serve different purposes. These tables describe the selected entry editors. Set up one complete entry first, save it, and confirm it works before adding the rest. Fields for an alternative type apply only when that type is selected.
Widget and overlay editor
| Setting | Initial value | What it changes and how to use it |
|---|---|---|
| Name | Choose in editor | Text used for name. Check the preview and use only the variables offered by this editor. 1–50 characters. |
| Type | Choose in editor | Choose how type behaves from the supported options. Options: server, leaderboard, events, stats, obsBoss, obsGiveaway, obsLeaderboard, obsInvasion, obsJoin. |
| Enabled | On | Switch enabled on or off. This controls this option only; related options keep their own settings. |
| Title | Not set | Text used for title. Check the preview and use only the variables offered by this editor. Up to 60 characters. |
| Theme | dark | Choose how theme behaves from the supported options. Options: dark, light, auto. |
| Accent | #18D7FF | Appearance of this part of the card or interface. A color change does not change eligibility or permissions. |
| Radius | 16 | Set radius within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–28; whole numbers. |
| Layout | full | Choose how layout behaves from the supported options. Options: full, compact. |
| Language | auto | Choose how language behaves from the supported options. Options: auto, en, ru, he, zh-TW. |
| Fields | No entries | The selected fields entries. Add each selection in the editor and check the resulting list before saving. up to 25 entries; Options: icon, members, online, description, join, avatars, level, value, time, location, rsvp, boosts, messagesToday, hp, fighters, hits, timer, entries, countdown, winners, server, global, rank, qr, link. |
| Items | 5 | Set items within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–25; whole numbers. |
| Metric | xp | Choose how metric behaves from the supported options. Options: xp, messages, voice, streak. |
| Invite | Not set | Set invite in the editor. Check it alongside the other fields in this section before saving. Up to 200 characters. |
| Description | Not set | Text used for description. Check the preview and use only the variables offered by this editor. Up to 300 characters. |
| Allowed domains | No entries | The selected allowed domains entries. Add each selection in the editor and check the resulting list before saving. up to 20 entries. |
| Hide branding | Off | Switch hide branding on or off. This controls this option only; related options keep their own settings. |
| Preset | Not set | Choose how preset behaves from the supported options. Options: lowerThird, corner, sidebar, square, full. |
| Anchor | bottomStart | Choose how anchor behaves from the supported options. Options: topStart, topEnd, bottomStart, bottomEnd, center. |
| Scale | l | Choose how scale behaves from the supported options. Options: m, l, xl. |
| Panel | glass | Choose how panel behaves from the supported options. Options: glass, solid, none. |
| Animate | On | Switch animate on or off. This controls this option only; related options keep their own settings. |
| Safe area | On | Switch safe area on or off. This controls this option only; related options keep their own settings. |
| Giveaway | Not set | Set giveaway within the accepted range. Keep the initial value for the first trial, then change it after checking the result. More than 0; whole numbers. |
| Join source | invite | Choose how join source behaves from the supported options. Options: link, invite. |
| Link | Not set | Set link within the accepted range. Keep the initial value for the first trial, then change it after checking the result. More than 0; whole numbers. |
Test the whole journey
- Open the widget as a visitor and confirm only the fields you intended are visible.
- Check the real embed destination and verify a source-data change appears after refresh.
- Repeat the relevant member action with an ordinary member account and the staff action with your intended staff role. An administrator test alone can hide permission restrictions. Check both the response in Discord and the saved record or result in the dashboard.
- Change one setting that affects the result, save it, and repeat the same test. Record the previous value so you can restore it if the new behavior is not what you wanted.
Follow the complete workflow
1. Turn on Website widgets
Open your server dashboard, choose your server and switch on Website widgets.
2. Create and style a widget
Pick a type, choose what it shows and set the theme, color and language. The preview in the dashboard is the real widget.
3. Paste the code
Copy the embed code (or a plain iframe for site builders) into your website. It sizes itself and refreshes about once a minute.
4. Watch the views
The Analytics tab shows how often each widget is seen per day, with a data table for every number.
Operation and behavior in detail
Private by default, fast everywhere
A widget shows only what you switch on. Leaderboards respect members who hid themselves (they appear as “Hidden member”), and a leaderboard or calendar widget needs that feature’s public page to be turned on first. Widgets never set cookies, and view counts are stored as daily totals only, without IP addresses.
Widgets are small server-rendered pages with self-hosted fonts and no third-party scripts, cached for about a minute, so they load quickly even on busy pages. On the Free plan a small “Powered by the bot” line links back to us; Pro can hide it.
- Embed code that resizes itself, or a plain iframe
- Allowed sites: any, or your own list of domains
- Themes: dark, light or follow the visitor
- Languages: English, Russian, Hebrew, Traditional Chinese or the visitor’s browser language
When something looks wrong
| Symptom | What to inspect | How to recover |
|---|---|---|
| The preview works but the embed does not | Allowed domain, copied embed address, widget enabled state and source availability. | Correct the destination configuration and reload the existing embed. |
| The saved setup produces no visible result | Whether the feature is enabled, the required action has actually happened, and the selected destination still exists. | Follow the worked example once, then inspect the response before retrying. A saved configuration alone does not perform every action. |
| Staff can use it, but an ordinary member cannot | Member eligibility, selected roles, channel overrides and Discord command permissions. | Test with the affected role combination. Correct the specific restriction and test again. |
| A role, reward or message is missing | The related feature, destination permissions and the result of the original action. | Confirm what already completed before repeating an action that spends currency, sends a message or grants a reward. |
Feature-specific questions
How do I add a Discord widget to my website?
Turn on Website widgets in the dashboard, create a widget and copy its embed code into your page. It is one div and one script line, or a plain iframe for site builders that only accept iframes.
Is it different from Discord’s own server widget?
Discord’s widget lists online members and needs the widget setting turned on in your server. The bot widgets show a styled server card with a Join button, your Levels leaderboard, upcoming events or live stats, in your colors and language.
Can other websites copy my widget?
Only if you allow any site. Add your domains to the allowed list and browsers will refuse to show the widget anywhere else. You can also create a new link at any time, which turns off the old one.
Does the widget show private information?
No. It shows display names and avatars only on the leaderboard, never member IDs, and members who hid themselves stay hidden. Stats are totals only. No cookies are set.
Can I use the data in my own design?
Yes. Every widget has a JSON address with the same data, open to any website (CORS) and cached for 60 seconds. No API key is needed.
Launch checklist
- Open the widget as a visitor and confirm only the fields you intended are visible.
- Checked: the real embed destination and verify a source-data change appears after refresh.
- The saved setup and the actual Discord result match the example you chose.
- A regular member and the intended staff role can complete their respective steps.
- Optional rewards, notifications and public destinations are intentional.
- Another admin knows which settings to change, how to inspect a result and how to stop or correct the workflow.
Share Website widgets basics with someone who needs an overview. Use the command reference below for exact command names and required options.
Commands for this feature
This feature is used through its console settings, messages or buttons. It has no dedicated command in the current reference.