Giter VIP home page Giter VIP logo

discord-rpc-cli's Introduction

๐Ÿ› ๏ธ Discord RPC cli client

A Discord RPC cli client written purely in Rust

Status Badge

Features

  • Typical RPC Features

    • State
    • Details
    • Displaying large image and it's custom text
    • Displaying small image and it's custom text
    • Buttons
      • Can put 2 buttons
  • More Advanced Features

    • Setting custom times (Unix format)
      • Can set start time
      • Can set end time
    • Creating a party
      • Can set party size
      • Can set party ID
    • Creating a match
      • Can set match ID
      • Can set join ID
      • Can set spectate ID
  • Other Features

    • AFK RPC (Will show how long you've been idle for.)
    • Show the time from when the program was run.
    • Set a time for the program to exit after reaching it. (Countdown)
    • Disable colored output (Colors are enabled by default.)

Building

For installing on Arch you can use the AUR (discord-rpc-cli)

Simply run

Make sure you have rust installed

git clone https://github.com/Rayrsn/Discord-RPC-cli && cd Discord-RPC-cli && cargo b --release
  • The executable will be located in target/release/Discord-RPC-cli

Usage

The simplest way to use the program is as follows

./Discord-RPC-cli -c <Application ID goes here> 

You can also run the program with the -h argument to print out the help message

How do i get the client id and the other stuff?

  1. Go to Discord's Developer Portal.
  2. Make a New Application and name it whatever you want. (this is also the name of your RPC)

DevPortal

  1. Then head to the Rich Presence tab.

RichPresence

  1. Scroll down to the "Rich Presence Assets" section

  2. Here you can upload any image you want. (it has to be 512x512, there are many online tools that resize images for you) Also remember you can't rename the image once you hit the "Save Changes" button. (it has to be deleted and reuploaded)

Uploading

  1. Then head back to the "General Information" tab and copy the Application ID. (this is the same as Client ID)

AppID

Acknowledgments and FAQ

  • Why can't I click on my own button? You just can't. (Discord Limitation)

  • Parts of the readme uses the opensource-template by EmbarkStudios: opensource-template

Questions

If yall have any questions or just wanna talk, add me on Discord or use my username Rayr#6709 (this might change so it's better to just use the link)

discord-rpc-cli's People

Contributors

rayrsn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sidiaaa

discord-rpc-cli's Issues

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.