discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Description specified in General Information section of application (bot) doesn't show on desktop

Open InFiNiTy1234568 opened this issue 2 years ago • 2 comments

Description

So, as mentioned in the title, there is an bug in Discord API, that causes to 'hide' about me section of bot in desktop client.

It causes serious problems, when you have important informations to show for users, when they click bot profile.

Steps to Reproduce

  • Head to Discord Developers Site
  • Create any application that is a bot
  • Head to General Informations
  • Set bot description
  • Log in Desktop Client
  • Invite Bot
  • Click it's profile

Expected Behavior

  • Displayed about me section

Current Behavior

  • Just nothing. Even field named 'About me' doesn't show

Screenshots/Videos

image Bot currently offline, but it doesn't matter

Client and System Information

- Stable 140575 (12c29a3) 
- Host 1.0.9005 
- Windows 10 64-Bit (10.0.19044)

InFiNiTy1234568 avatar Aug 09 '22 08:08 InFiNiTy1234568

This issue is also on Android (React Native)

Client Info

App: 141.0 (null) canaryRelease; Manifest: N/A; Build Override: N/A; Device: a51 (SM-A515F) OS 31;

ilxlodev avatar Aug 09 '22 10:08 ilxlodev

Can reproduce Desktop canary:

Canary 140672 (156c86e) Host 0.0.136 Linux 64-Bit (5.15.0-43-Generic)

Web stable:

Stable 140575 (12c29a3) Linux 64-Bit

Web ptb:

Ptb 140672 (156c86e) Linux 64-Bit

Web canary:

Canary 140672 (156c86e) Linux 64-Bit

but not on iOS stable 137.0

App: 137.0 (33973) stable; Manifest: W/"f9921cec4a08f7e9fe631ba73d351f59"; Build Override: N/A; Device: iPhone10,4 OS 15.5;

and not on iOS stable 138.0

App: 138.0 (34058) stable; Manifest: N/A; Build Override: N/A; Device: iPhone10,4 OS 15.5;

ooliver1 avatar Aug 09 '22 12:08 ooliver1

Yep, seeing the same on Desktop 0.0.268 (0.0.268)

sanketch avatar Aug 11 '22 14:08 sanketch

some details about this issue:

Technically, bots don't have bios; applications have descriptions. The /profile endpoint inserts the application's description into the bio field in the user object, which is actually "" in the real user object.

Recently, a user_profile object was added, and the clients now read bio, banner, and accent_color from user_profile, instead of user. However, the API doesn't put the application description into user_profile, so the client doesn't display it.

IMO the ideal fix for this would be simply including description in the application object and making the client display that. As an alternative, the API can be updated to insert the application description into user_profile.

image

advaith1 avatar Aug 15 '22 22:08 advaith1

On my plate to tackle early this week. Thanks for the detailed report @advaith1! Very helpful

IanMitchell avatar Aug 15 '22 22:08 IanMitchell

Fix will be out soon

devsnek avatar Aug 15 '22 23:08 devsnek

tfw snek gets there first

IanMitchell avatar Aug 15 '22 23:08 IanMitchell