watched list pfp bug

master
Kit Kasune 3 years ago
parent 451242408f
commit 7b08dad07e
  1. 5
      commands/anime/watched.js

@ -32,7 +32,10 @@ module.exports = {
s += `**${x + (i * 10) + 1}.** ${client.misc.cache.animeID.get(af.watched[(i * 10) + x])}\n`; s += `**${x + (i * 10) + 1}.** ${client.misc.cache.animeID.get(af.watched[(i * 10) + x])}\n`;
} }
pages.push(new Discord.MessageEmbed() pages.push(new Discord.MessageEmbed()
.setAuthor({name: message.guild ? message.guild.members.cache.get(user.id).displayName : user.username, iconURL: message.author.displayAvatarURL({dynamic: true})}) .setAuthor({
name: message.guild ? message.guild.members.cache.get(user.id).displayName : user.username,
iconURL: message.guild ? message.guild.members.cache.get(user.id).displayAvatarURL({dynamic: true}) : user.displayAvatarURL({dynamic: true})
})
.setTitle("Finished Anime List") .setTitle("Finished Anime List")
.setDescription(s) .setDescription(s)
.setColor('c375f0') .setColor('c375f0')

Loading…
Cancel
Save