discord-html-transcripts icon indicating copy to clipboard operation
discord-html-transcripts copied to clipboard

Profile creation bug

Open darkill59 opened this issue 11 months ago • 0 comments

Hi, I just found a bug when creating user profiles. (dist/utils/buildProfiles.js) When a person doesn't have a nickname, it puts "User" in place of the person's name. After some research, the problem simply comes from the fact that "displayName" does not exist in "author" (despite its presence in the doc). In the meantime, I simply changed the "author.displayName" to "author.username" which therefore does not display the person's displayed name but the username. For example, my username is darkill3671 while my display name is darkill. Another thing is that the mentions are not displayed. They only display: "@".

image I specify that on the screenshot, I have already replaced the "author.displayName" with "author.username"

package version: 3.2.0

Hoping for a correction. THANKS

darkill59 avatar Mar 05 '24 15:03 darkill59