use displayname

This commit is contained in:
Ashley Graves 2024-10-12 14:03:15 +02:00
parent 8e9f503ff4
commit 4677a830c5

View file

@ -24,7 +24,7 @@ module.exports = {
const avatar = `https://cdn.discordapp.com/avatars/${user.id}/${user.avatar}.png?size=1024`; const avatar = `https://cdn.discordapp.com/avatars/${user.id}/${user.avatar}.png?size=1024`;
console.log("Generating quote image"); console.log("Generating quote image");
try { try {
const data = await createQuoteImage(avatar, user.username, msg.content, true, interaction.client.users.cache); const data = await createQuoteImage(avatar, user.displayName, msg.content, true, interaction.client.users.cache);
console.log("Sending quote image"); console.log("Sending quote image");
await interaction.followUp({ await interaction.followUp({