4.0.8 • Published 2 years ago

@theuntraceable/discord-rpc v4.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Discord.js RPC Extension

Documentation

Rich Presence Example Will fix soon.

Browser Example

const clientId = '743122320838623338';
const scopes = ['rpc', 'rpc.api', 'messages.read'];

const client = new RPC.Client({ transport: 'websocket' });

client.on('ready', () => {
  console.log('Logged in as', client.application.name);
  console.log('Authed for user', client.user.username);

  client.selectVoiceChannel('81384788862181376');
});

// Log in to RPC with client id
client.login({ clientId, scopes });
4.0.5

2 years ago

4.0.7

2 years ago

4.0.6

2 years ago

4.0.8

2 years ago

4.0.4

2 years ago

4.0.3

2 years ago

4.0.2

2 years ago

4.0.1

2 years ago