Skip to content

devPoland/poland-bot-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Rich Presence for Poland_BOT

Important

To get your "App ID" go to the Discord Developer Portal, press New Application and on General Information you will see Application ID.

Important

To get an Icon for the application, head over to (on the same application you created) Rich Presence -> Art Assets -> Rich Presence Assets and name it just icon (can be changed, but requires rebuilding)

Warning

You cannot see the "Check out my Inventory" button (showInventoryButton setting), but others can and will (if the feature is enabled)

What is this?

A small project for Poland_BOT, which uses the open API in order to display your stats using Discord RPC.

Calls Made:

Directories for config.json (found here)

Windows > \AppData\Roaming\poland_bot_rpc\config.json

Linuxㅤㅤ> ~/.config/poland_bot_rpc/config.json

Default Config

{
    "showUsername": true,
    "showProfit": true,
    "showBestPull": true,
    "showInventoryValue": true,
    "showCasesOpened": true,
    "showInventoryButton": true,
    "alwaysOnTop": false,
    "username": "",
    "appid": ""
}

Building / Running

There are 2 things you can do:

  1. Directly run
    • Clone the repo git clone https://github.com/devPoland/poland-bot-rpc
    • Run npm install
    • Run npm start
  2. Build
    • You can do this by using the already existing workflow, so probably just forking the repo with your changes
    • To build locally you need to clone the repo, run npm install and then npm run build:win or npm run build:linux, for reference you can look into the workflow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors