discord / discord-rpc

https://discordapp.com/developers
MIT License
1.06k stars 330 forks source link

Can I run rpc.connect() without Discord open? #359

Closed lermal closed 2 years ago

lermal commented 2 years ago

I want the profile to be permanent, but for this I need to run the code on a permanent host. If you run it without Discord open, it always gives an error (pypresence.exceptions.DiscordNotFound: Could not find Discord installed and running on this machine.) Can I run rpc.connect() without Discord open? (Via account token?)

Lachee commented 2 years ago

RPC works by directly communicating with the Discord client. So no, you cannot set the presence without discord open