-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
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
Can't change activity of a non-bot client #2541
Comments
you should use RPC for this: https://github.com/discordjs/RPC |
Alright, thanks! |
Discord RPC is currently in private beta according to Discord dev-docs, I get |
@Totomlnc you should use IPC not websockets |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please describe the problem you are having in as much detail as possible:
I am trying to make a small userscript that display the current track playing from SoundCloud on Google Chrome, linked to my Discord user account. It works well with a bot-client but the user activity don't change when I'm logged in with a user account.
When testing the script, I am logged from both the Windows Discord client and the SoundCloud tab. Maybe it's because of 2 simultaneous connections on a same (user?) account.
As a side note, I can change the status (from idle to online, DND to idle, ...).
Include a reproducible code sample here, if possible:
Further details:
discord.js version: 11.3-dev for browser
node.js version: browser (Google Chrome 66.0.3359.139)
Operating system: Windows 10
Priority this issue should have: very low
I found this issue while running code on a user account
I have also tested the issue on latest master, commit hash:
The text was updated successfully, but these errors were encountered: