discord rpc 源码
Discord.js RPC扩展 浏览器示例 const clientId = '287406016902594560' ; 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 ( '81384788862181
用户评论