0

I want to change a Discord's application name (NOT username) dynamically through code.

Is there any way to do it? I have scrapped through Documentation and not yet found any.

headers = {"Authorization": "MTA1MTM5OTgyMzk3NjMxNjk1OA.GQ3Imi.ga8ZG0r96u1V8peV9hW2ImZQLE2zrOgDj_xQnQ"}
    data2 = {"name": "BabyDoll"}

    response2 = requests.patch("https://discord.com/api/v6/oauth2/applications/1051399823976316958", headers=headers, json=data2

It gave Error 401: Unauthorized

Have given ALL permissions, turned on Message Intent etc

  • Hi, I am unfamiliar with the Discord API but you can take a look at https://pypi.org/project/discord.py/ and the Documentation Here: https://discordpy.readthedocs.io/en/latest/index.html – Muneeb Ahmad Khurram Dec 24 '22 at 07:06

0 Answers0