OAuth2

Update bot profile

Modifies bot profile information such as name, avatar, and status. Changes apply to the bot account associated with this OAuth2 application.

patch/oauth2/applications/{id}/bot

Path parameters

string snowflake required
OR
integer required

The ID of the application

Request body

usernamestring
avatarstring
bannerstring
biostring nullable

The bio or description of the bot

bot_flagsinteger

The bot user flags

Response

Success

idstring snowflake required
usernamestring required

The username of the bot

discriminatorstring required

The discriminator of the bot

avatarstring nullable required

The avatar hash of the bot

bannerstring nullable required

The banner hash of the bot

biostring nullable required

The bio or description of the bot

flagsinteger required

The bot user flags

Changes