An API to easly generate Discord badge with (or without) your status.
To install the bot, follow this steps :
- Create an app on Discord Dev Portal
- Invite the bot to your Discord server
- Clone the repo
- Install Packages
- Create
.env
file with :
TOKEN=[BOT_TOKEN]
GUILD_ID=[GUILD_ID]
- Run
node index.js
The API is very simple. There are 3 path :
/
=> Redirect to this repo/badge/status/[USER_ID]
=> Genreate a badge with the status of the user/badge/[USER_ID]
=> Generate a badge only with the username
For /badge/status/[USER_ID]
you can add ?json=true
to get a JSON that contains all data.