Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A simple RPC client for Discord

License

NotificationsYou must be signed in to change notification settings

discordjs/RPC

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});

[8]ページ先頭

©2009-2025 Movatter.jp