Discord Profile Card
This is a personal card inspired by Discord's Profile. Shows your info and presence activities on real time.
Table of contents
Setting up
-
Create a Bot Application in Discord Developer Portal. see the docs
-
Add your Bot in a Guild.
-
Go to My Applications, select the Bot and active the Presence Update intent
-
rename the file .env.example to
.env
and set the values:
VITE_USER_ID
- Your Discord user ID.VITE_GUILD_ID
- The Discord guild ID.VITE_CLIENT_TOKEN
- The Bot TOKEN.
Installation
- Enter on the repository folder and install the dependencies
Package Manager | Command |
---|---|
YARN |
yarn install |
NPM |
npm install |
PNPM |
pnpm install |
Scripts
dev
- Run the project in development modebuild
- Create the project buildpreview
- Run the preview
Running:
Package Manager | Command |
---|---|
YARN |
yarn <script> |
NPM |
npm run <script> |
PNPM |
pnpm run <script> |