Update archive.js

This commit is contained in:
Isaac 2020-09-06 21:15:27 +01:00 committed by GitHub
parent 909ef7d0a7
commit 2f18ad19dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ module.exports.add = (message) => {
// mentions.users // mentions.users
message.mentions.members.each(m => data.entities.users[m.id] = { // for mentions message.mentions.members.each(m => data.entities.users[m.id] = { // for mentions
avatar: m.user.avatarURL(), avatar: m.user.displayAvatarURL(),
username: m.user.username, username: m.user.username,
discriminator: m.user.discriminator, discriminator: m.user.discriminator,
displayName: m.user.displayName || m.user.username, displayName: m.user.displayName || m.user.username,