We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi, i have a problem, when i run my project i get this error my code:
const clientId = '973698144086945872'; const DiscordRPC = require('discord-rpc'); const RPC = new DiscordRPC.Client({ transport: 'ipc'}); DiscordRPC.register(clientId); async function setActivity() { if (!RPC) return; RPC.setActivity({ startTimestamp: Date.now(), endTimestamp: Date.now(), largeImageKey: 'anya', largeImageText: `Anya forger`, smallImageKey: `midorya`, smallImageText: `zWmin`, instance: true, }); }; RPC.on('ready', async () => { setActivity(); setInterval(() => { setActivity(); }, 15 * 1000); }); RPC.login({ clientId }).catch(err => console.error(err));
i hope someone can help me
The text was updated successfully, but these errors were encountered:
make sure the discord client is running on the same computer. Additionally, ask the DiscordRPC.js library.
Sorry, something went wrong.
No branches or pull requests
hi, i have a problem, when i run my project i get this error
my code:
i hope someone can help me
The text was updated successfully, but these errors were encountered: