> ## Documentation Index
> Fetch the complete documentation index at: https://docs.livehub.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Discord

> Embed your server with a live member count

The Discord block embeds your server's widget, showing who's online and a
button to join — live, right on your page.

<Frame caption="Your server widget, with online members and a join button.">
  <img className="block dark:hidden" src="https://mintcdn.com/livehub/K5-wIuGvUb-0AHlh/images/pages/blocks/block-discord.svg?fit=max&auto=format&n=K5-wIuGvUb-0AHlh&q=85&s=922b0ae95b4d01df847f3a46e5c6ee4a" alt="Discord block: a server widget with member avatars and a Join button" width="600" height="244" data-path="images/pages/blocks/block-discord.svg" />

  <img className="hidden dark:block" src="https://mintcdn.com/livehub/K5-wIuGvUb-0AHlh/images/pages/blocks/block-discord-dark.svg?fit=max&auto=format&n=K5-wIuGvUb-0AHlh&q=85&s=b80e3ea361b71361900d0037f9629504" alt="Discord block: a server widget with member avatars and a Join button" width="600" height="244" data-path="images/pages/blocks/block-discord-dark.svg" />
</Frame>

## Settings

* **Server ID** — your Discord server (guild) ID.

<Note>
  The embed uses Discord's server widget, so you'll need to enable the
  widget in your server settings (**Server Settings → Widget**) for it to
  display.
</Note>

The widget follows light and dark mode automatically.

<Card title="All blocks" icon="shapes" href="/pages/blocks">
  Back to the block reference.
</Card>
