Skip to content

Repository files navigation


Discord serverNPM versionNPM downloadsDependencies

NPM info

Discord.js RPC Extension

Browser Example

constclientId='287406016902594560';constscopes=['rpc','rpc.api','messages.read'];constclient=newRPC.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 idclient.login({ clientId, scopes });

About

A simple RPC client for Discord

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages