why isn't my rpc working?

const rpc = new Client({ transport: 'ipc' });

rpc.on('ready', () => {
console.log('Discord RPC connected');

rpc.setActivity({
details: 'test',
state: 'test',
largeImageKey: 'test',
largeImageText: 'test',
instance: false
});
});

rpc.login({ clientId: DISCORD_BOT_ID }).catch(console.error);
const rpc = new Client({ transport: 'ipc' });

rpc.on('ready', () => {
console.log('Discord RPC connected');

rpc.setActivity({
details: 'test',
state: 'test',
largeImageKey: 'test',
largeImageText: 'test',
instance: false
});
});

rpc.login({ clientId: DISCORD_BOT_ID }).catch(console.error);
very confusign
5 Replies
d.js toolkit
d.js toolkit4d ago
thkxz
thkxzOP4d ago
it doesn't show up at all nvm now it does on this account? my other account it doesnt show up x.x is this something that is configured in discord settingS? or
Amgelo
Amgelo4d ago
you can't see your own rpc status if that's what you mean that's how discord works
chewie
chewie3d ago
sure you can you just dont see your own buttons
Amgelo
Amgelo3d ago
ah right

Did you find this page helpful?