README.md

March 2, 2026 · View on GitHub

dcbadge

A customizable badge that shows your Discord account, a server invite, or a bot account.

dcbadge
User Account Server Invite Bot Account

Set up

User Account   

  1. Join the Discord server (required, as that's where the bot gets your presence information from)
  2. Your shield will become available at https://dcbadge.limes.pink/api/shield/USERID
    (replace USERID with your Discord user ID)

To embed the shield in a Markdown file, do this:
![](https://dcbadge.limes.pink/api/shield/USERID)

Server Invite   

  1. Create an invite for your server; make sure to set it to never expire!
  2. Your shield will become available at https://dcbadge.limes.pink/api/server/INVITE
    (e.g. https://dcbadge.limes.pink/api/server/https://discord.gg/zkspfFwqDg)

To embed the shield in a Markdown file, do this:
[![](https://dcbadge.limes.pink/api/server/INVITE)](https://discord.gg/INVITE)

Bot Account   

  1. DM me () your bot's invite link
  2. Wait for me to read the DM (it might take some time as it's a manual process)
  3. Your shield will become available at https://dcbadge.limes.pink/api/shield/BOTID?bot=true
    (replace BOTID with your Discord bot's user ID)

To embed the shield in a Markdown file, do this:
![](https://dcbadge.limes.pink/api/shield/BOTID?bot=true)

Styling

You can chain parameters by connecting them with & (e.g. ?style=flat&theme=clean&compact=true).

style

This uses shields.io under the hood, so you can just use one of the styles from there via the ?style= param.

BadgeStyleQuery
flatflat?style=flat
flat-squareflat-square?style=flat-square
for-the-badge (default)for-the-badgeNone (default)
plasticplastic?style=plastic
socialsocial?style=social

theme

You can also use the theme query option to change the colors of the shield (the green in the following badges corresponds to the online/idle/dnd/offline status)

BadgeThemeQuery
defaultDefaultNone (default)
default-invertedDefault inverted?theme=default-inverted
cleanClean?theme=clean
clean-invertedClean inverted?theme=clean-inverted
dcDiscord?theme=discord
dc-invertedDiscord inverted?theme=discord-inverted
full-presenceFull presence?theme=full-presence
greyGray?theme=gray
blurpleBlurple?theme=blurple

Note: the theme option will not work with the social style.

compact

Makes the badge more compact, at the expense of the status text/member count.

BadgeQuery
compact?compact=true

logoColor

You can pass a color for the logo (the examples below use &theme=default-inverted to make the change more evident)

BadgeQueryDescription
presence?logoColor=presenceChanges the color of the logo according to the presence
word?logoColor=pinkSupported colors here
hex?logoColor=ff6b6bAny hex code, without the #

I've added this to my GitHub bio and it doesn't work!

This won't work in bios, only in profile readmes (and any other part of GitHub that supports markdown). Here's some info on what a profile readme is and how to set it up.

For any questions feel free to contact me on Discord () or via email (mdbadge@limes.pink)

HTML

The API returns an SVG image, so you can embed it in your html just like you would with any other image:

<img
  src="https://dcbadge.limes.pink/api/shield/USERID"
  alt="write a description depending on your usage"
/>


made with ❤ by limes.pink