Code Monkey home page Code Monkey logo

easy-rich-presence's Introduction

Easy Discord Rich Presence!

How to install

Windows

  1. Install nodejs
  2. Install git
  3. Open git bash and run git clone https://github.com/AleanaA/Easy-Rich-Presence.git
  4. Open cmd and run cd %UserProfile%\Easy-Rich-Presence && npm install
  5. Run start.bat

Linux

  1. Install nodejs and npm for your distro, as found here
  2. Install git for your distro
    2.a - Arch Based - pacman -S git
    2.b - Debian Based - apt install git
    2.c - Fedora Based - yum install git
  3. In terminal, run git clone https://github.com/AleanaA/Easy-Rich-Presence.git
  4. In terminal, run cd Easy-Rich-Presence && npm install
  5. In terminal, run sh start.sh

Running in the background on Linux

  1. In terminal, run npm install pm2 -g
  2. In terminal, move to the Easy-Rich-Presence directory.
  3. In terminal, run pm2 start start.sh --name "Rich Presence"

Configuration

To start with, make a bot aplication on your Developer page
Choose a good name for the application. This is what will show as your playing status.

After making your application, scroll down and click Enable Rich Presence

Next, you'll want to open main.js
If you're on Windows, it's prefered that you open it with something like Notepad++ or Sublime
Replace id with your applications Client ID, and change First line and Second line to whatever you'd like.
To make the second line blank, put // at the beginning of the line. If you do this for the first line, you'll just get errors.

After setting up your text, you can either find an image you like that's above a 512x512 resolution, or you can add // to the start of the four image lines.

If setting up an image, upload it to your assets area in your application, set it as a large image, and give it a name, then save your changes.
Once you've saved your changes, replace largeimage with whatever you named the image. Afterwards, you can set Large Image Hover Text to whatever you'd like, or to disable it, add // to the start of the line.

If you'd like a small image in the bottom corner of the large image, find another image that is above a 512x512 resolution, upload it to your assets area in your application, set it as a small image, and give it a name, then save your changes.
Once you've saved your changes, replace smallimage with whatever you named the image. Afterwards, you can set Small Image Hover Text to whatever you'd like, or to disable it, add // to the start of the line.

Support

There's a support server that you can find here if you have any issues, or just need help.

easy-rich-presence's People

Contributors

aleanaa avatar

Stargazers

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