const clientId = '868016688090710067';
const scopes = ['rpc', 'rpc.voice'];
const client = new RPC.Client({ transport: 'ipc' });
client.on('ready', async () => {
console.log('Logged in as', client.application.name);
console.log('Authed for user', client.user.username);
const channel = await RPC.getSelectedVoiceChannel();
});
// Log in to RPC with client id
client.login({ clientId, scopes });remuring9999/RPC
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Releases
No releases published
Languages
- JavaScript 97.6%
- CSS 1.5%
- HTML 0.9%

