Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add description attribute to ClientUser #2454

Open
Lumabots opened this issue May 15, 2024 · 1 comment
Open

Add description attribute to ClientUser #2454

Lumabots opened this issue May 15, 2024 · 1 comment
Assignees
Labels
API Reflection Discords API wasn't correctly reflected in the lib feature request New feature request feature Implements a feature status: planned Planned in the future

Comments

@Lumabots
Copy link

Summary

Description attribute to ClientUser

What is the feature request for?

The core library

The Problem

Edit the about me/description of the bot without having to go on the portal dev

The Ideal Solution

add an attribute description to the clientuser edit

The Current Solution

there is not

Additional Context

No response

@Lumabots Lumabots added the feature request New feature request label May 15, 2024
@NeloBlivion
Copy link
Member

This will be added, but not to ClientUser; bots do not have descriptions, they use the parent description from their Application.
You may fetch the description through application_info, then we will implement the Edit Current Application endpoint separately.
There will be a future PR that adds many missing routes that we haven't properly implemented.
If you wish to try editing right now, here's an example of how you can go about it:

from discord.http import Route

r = Route("PATCH", "/applications/@me")
payload = {"description": "updated wooo"}
data = await bot.http.request(r, json=payload)

This route returns the updated application info.

@NeloBlivion NeloBlivion added status: planned Planned in the future feature Implements a feature API Reflection Discords API wasn't correctly reflected in the lib labels May 15, 2024
@NeloBlivion NeloBlivion self-assigned this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Reflection Discords API wasn't correctly reflected in the lib feature request New feature request feature Implements a feature status: planned Planned in the future
Projects
None yet
Development

No branches or pull requests

2 participants