REST API for Rich Presence



  • Donovan_DMC

    Doing it over a rest api would defeat the purpose of having a constant connection, so they know you're still connected, and for something like this you would either need an account token, which you aren't getting easy, or a new api scope for bots, though the way that's all setup, you can't edit anything about users from bots

  • osk


    That makes sense. A RTC connection to upkeep the Rich Presence would probably work too, but be slightly harder to handle for some servers, I feel. (REST being relatively fire-and-forget) Nonetheless, either option is better than nothing, yes?

    As for getting a token, as I said I'd suggest using an oAuth flow to get a token. A new scope would allow users to know what's going on and prevent unauthorized access to anything else.