Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 839 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 839 Bytes

Discord Bot Card

Deploy with Vercel

Show your discord bot stats on your website as a svg card, the data is fetched from discord API, and the card is generated with satori on the fly.

Discord Bot Card

Usage

  1. Deploy this repository to Vercel by clicking the button above
  2. Add BOT_TOKEN to the environment variables
  3. Head to https://your-vercel-url/api/card to get the card

Endpoints

  • /api/card - Get the card in svg format
  • /api/card.jpeg - Get the card in jpeg format
  • /api/card.webp - Get the card in webp format