Code Monkey home page Code Monkey logo

discord-rpc-js's Introduction

discord-rpc-js

Custom Discord Rich Presence menggunakan javascript dan nodeJS

Instalasi

$ git clone https://github.com/Fandyfr/discord-rpc-js.git
$ cd discord-rpc-js

Lalu kalian buka file namanya rpc.js di vscode, memasukan beberapa teks yaitu 'ID APIKLASI BOT DISCORD' , cara dapat id kalian buka Discord Developer, Lalu kalian new application terserah, kalo sudah kalian buka apiklasi kalian lalu, copy id nya lalu paste di rpc.js pada " const clientId = 'ID Apiklasi Bot Disocrd'; ", Selanjutnya ada set Activity.

rpc.setActivity({
        details: 'Deskripsi Anda',
        state: 'Deskripsi 2',
        startTimestamp: localTimestamp,
        largeImageKey: 'nama_gambar_besar',
        largeImageText: 'Deskripsi Gambar Besar',
        smallImageKey: 'nama_gambar_kecil',
        smallImageText: 'Deskripsi Gambar Kecil',
        type: 'PLAYING',
        buttons: [
          { label: 'Teks 1', url: 'URL 1' },
          { label: 'Teks 2', url: 'URL 2' },
        ],
        instance: false,
      });

itu kalian terserah mau isi apa :)

Cara Jalan Nya

Kalian Buka folder discord-rpc-custom copy path lalu ke cmd cara buka cmd tekan win + R Ketik 'cmd'

Lalu ikuti cara ini:

$ cd $PATH
$ node rpc.js

Jika Sudah terhubung pastikan discord anda harus aktif agar rpc tetap menyala!!

LICENSE

GNU General Public License v2.0

discord-rpc-js's People

Contributors

fandyfr avatar

Stargazers

 avatar

Watchers

 avatar

discord-rpc-js'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.