Coder Social home page Coder Social logo

shaurya9524 / discord-rpc Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 196 KB

This project provides a simple and straightforward way to integrate Discord Rich Presence into your applications.

License: MIT License

JavaScript 100.00%
discord discord-rpc javascript

discord-rpc's Introduction

Discord RPC

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.

Discord RPC

Authors

Getting Started

Installation

  1. Clone the project repository:
git clone https://github.com/Shaurya9524/discord-rpc.git
  1. Install the project dependencies:
npm install
  1. 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>
  1. Start the application:
npm start

Usage

Configuration

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

License

This project is licensed under the MIT License - see the LICENSE file for details.

discord-rpc's People

Contributors

shaurya9524 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.