anmol420 / Discord-RPC

Discord RPC coded in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Discord RPC coded in JavaScript

License:MIT License


Languages

Language:JavaScript 100.0%