Allow Rich Presence from web apps


2 條評論

  • InsideDev

    I feel like this is an impossible feature to add. As most browsers will not leak that info to discord to display. Which is why it only works in the Desktop version

  • Donovan_DMC

    The reason it's impossible as of right now is because the only way to set any status is through an ONGOING and ACTIVE websocket connection to Discord, which requires the users auth token, which you will not be getting from oauth2.

    Having it going through a REST call would make a mess, since they can't tell if the user has gone idle, internet connection died, they closed everything, etc so it can't properly do anything with their status

    Also, a rest endpoint would likely be just quietly sending a command to websockets in the background.