Code Monkey home page Code Monkey logo

discord-rpc's Introduction

Discord Rich Presence

Requirements

Nodejs
Visual Studio Code or any other code editor
Git
Discord

How To Use

  • Go to Discord Developers Portal and then go to the top left corner of your screen, click "Create Application" and name it. (I recommend naming it as "Discord")

  • Then click onto the application under "Rich Presence" category, and then click onto "Art Assets".

  • Click "Add Asset" then choose an image from your computer.

  • Download this repository as zip and extract it.

  • Open your terminal and type "npm i discord-rpc".

  • Go to "config.json" file:

  {
    "ClientID": "YOUR_CLIENT_ID",
    "LargeImage": "YOUR_LARGE_IMAGE_NAME", 
    "LargeImageText": "Discord",
    "Button1": "Invite Now!",
    "Button2": "Vote For Discord",
    "Link1": "https://discord.com/api/oauth2/authorize?client_id=880515863164387348&permissions=2147609600&scope=applications.commands%20bot",
    "Link2": "https://top.gg/bot/880515863164387348/vote",
    "Details": "YOUR_APPLICATION_DESCRIPTION",
    "State": "YOUR_APPLICATION_STATE" //This Is Optional
  }
  • Change YOUR_CLIENT_ID text with your app's id (APPLICATION ID) that's shown under General Information section on your app's developer page.

  • Change YOUR_LARGE_IMAGE_NAME text with your uploaded image's name that's under Rich Presence>Art Assets.

  • You're good to go, open your terminal and type node index.js to make rich presence shown in your status!

  • Note: Buttons will not work for you, but they always will be working for others!

Discord Server

Join our discord server now to get additional support or hang out!

Developer

👤 anmol420.

Contributing

  • Contributions, issues and feature requests are always needed and welcome!

Support

You can show your support by giving a ⭐ on using the RPC!

License

Copyright © 2022 anmol420
This project is MIT Licensed.

discord-rpc's People

Contributors

anmol420 avatar

Stargazers

 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.