This project provides a simple and straightforward way to integrate Discord Rich Presence into your applications. You can display customised status messages and details to showcase the activity of your application to users on Discord.
- Shaurya Chauhan - Shaurya9524
- Clone the project repository:
git clone https://github.com/Shaurya9524/discord-rpc.git
- Install the project dependencies:
npm install
- Setup the environment variables:
Create a .env file in the root directory of your project and add the following line, replacing <discord_client_id> with your actual Discord client ID:
clientId=<discord_client_id>
- Start the application:
npm start
The configuration files are located at the ./src/config directory. Customise the configuration files to suit your needs. The configuration files are as follows:
File | Description |
---|---|
data.js | Contains the details to be displayed in the Discord RPC |
links.js | Contains the links to be displayed in the Discord RPC |
This project is licensed under the MIT License - see the LICENSE file for details.