discord-html-transcripts
discord-html-transcripts copied to clipboard
Profile creation bug
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: "@".
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