decodedcoder
decodedcoder
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
in the readme it says browser example
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
I'm so confused
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
or node ?
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
does this code run on the browser
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
any idea about this error ?
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6463
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6463
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
I mean i might be able to figured it out, until then i will post a message here
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
Wouldn't RPC now be undefined because there is no import for the package ?
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
okay i installed through npm
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
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('81384788862181376');
});

// Log in to RPC with client id
client.login({ clientId, scopes });
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('81384788862181376');
});

// Log in to RPC with client id
client.login({ clientId, scopes });
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
?
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
npm
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
so its should be used via
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
if im not going to use electron
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
is not needed
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
so the github project
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
but which file to run in this case ?
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
thye minimal example do you mean the "### Browser Example" section in the readme ?
36 replies
DIAdiscord.js - Imagine an app
Created by decodedcoder on 11/29/2023 in #djs-questions
the rpc in discordjs uses [email protected] seems to be installing forever
is it possible to be used without electron
36 replies