Giter VIP home page Giter VIP logo

discord-rich-presence-updater's Introduction

Discord Rich Presence Updater

An easy way to setup your Rich Presence on Discord


Pre-Requisites

  • NodeJS (recommended LTS version)
  • Git (optional to clone this repository)

Installation

Clone this repository with the following command

git clone https://github.com/1Leep/discord-rich-presence-updater.git

after that, install the dependencies using the following command

npm install 

Setting up Application

1. Create a Rich Presence Application in Discord Developer Portal

2. Make a new application (The name of the app will be the main name for the Rich Presence)

3. Go to Art Assets and add your images



Editing Config File

  • Open the file config.json and put the activity information of your Rich Presence
{
    "clientId": "CLIENT_ID_HERE",
    "activity": {
        "details": "Details text here",
        "state": "State text here",
        "largeImageKey": "large_image_key",
        "largeImageText": "Text from large image here",
        "smallImageKey": "small_image_key",
        "smallImageText": "Text from small image here",
        "buttons": [
            {
                "label": "Button Label 1",
                "url": "URL TO BUTTON 1 HERE"
            },
            {
                "label": "Button Label 2",
                "url": "URL TO BUTTON 2 HERE"
            }
        ]
    }
}

Get the Client ID from your application in General Information from Discord Developer Portal



Starting the App

  • Run this code to start the application or open the file start.bat
npm start

If all goes well, this will show up in your terminal



Notes:

  • Make sure that you have enabled Game-visibility in your Discord Settings

  • You are not redirected when clicking buttons, only other people

  • You can add or remove activity options in Config file

  • You can copy a Shortcut of the start file in the start up Folder, to automatically start the Rich-Presence when booting the PC. To get to this folder type WIN + R and then shell:startup




Author info

discord-rich-presence-updater's People

Contributors

lipeedev avatar

Watchers

 avatar  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.