Setting Custom Status Programmatically

Kommentarer

5 kommentarer

  • superloach

    After some quick investigation, I've determined how custom statuses are set.

     

    Endpoint: /api/v6/users/@me/settings

    Method: PATCH

    Data:

    {

        "custom_status": {

            "text": "<custom text>",

            "expires_at": "<time to expire in RFC3339 format>",

            "emoji_name": "<unicode character>"

        }

    }

     

    All custom_status fields are optional.

    I do not have Nitro to test, but I presume that emoji_name would be in the standard <:name:id> or <a:name:id> format.

     

    Now, we just wait for client libraries to add support for this.

    0
  • IsaacZM

    I tried sending an https function with node js but Bots could not use this endpoint.
    for now I think that bots can not use this new fuction one but in the future it can be used just wait.

    PD: Sorry for my bad english i use google translate.

    0
  • Reverso

    I think it would definitely be a cool feature because I always thought the status was weird by just having it with PLAYING, WATCHING etc. So statuses can fit in more.

    0
  • Sutherman

    Think it would be cool to have this. 

    0
  • Nathancovey23

    Has anyone figured out how to do this? Does Discord support it?

    0

Du måste logga in om du vill lämna en kommentar.