0.0.3 • Published 8 months ago

self-rpc-builder v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

Usage

const { CustomRichPresence } = require("self-rpc-builder")

 
const client = new CustomRichPresence("RPC-BOT-ID")

const r = client.set()
//.setType('STREAMING')
    //.setURL('https://youtube.com/watch?v=dQw4w9WgXcQ') // Streaming On Youtube
    .setState('online') // online, dnd, idle
    .setName('TEXT')
    .setDetails('Test')
    /*.setParty({
        max: 9,
        current: 1,
        id: Discord.getUUID(),
    })*/ // Playing 1/5
    //.setStartTimestamp(Date.now()) // Playing 00:13
    .setAssetsLargeImage('IMAGE-URL')
    .setAssetsLargeText('TEXT')
    .setAssetsSmallImage('IMAGE-URL')
    .setAssetsSmallText('TEXT')
    .addButton('Buton', 'https://example.com/')// Maximum Addable Button: 2




client.login("YOUR-ACCOUNT-TOKEN", r)

How Can I Get My Own Account Token?

  • Open Discord in browser
  • Open Developer Panel (CTRL + SHIFT + I)
  • Click Console
  • Paste the following code into the console
(webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()
  • It Will Throw Your Token There You Can Copy It And Use It!

Fork On Replit

Fork On Replit

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago