From 4677a830c5dd40fa5ae5c55f59fc754e71f540b5 Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Sat, 12 Oct 2024 14:03:15 +0200 Subject: [PATCH] use displayname --- src/commands/fun/quote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/fun/quote.js b/src/commands/fun/quote.js index 29870e4..a7a97c8 100644 --- a/src/commands/fun/quote.js +++ b/src/commands/fun/quote.js @@ -24,7 +24,7 @@ module.exports = { const avatar = `https://cdn.discordapp.com/avatars/${user.id}/${user.avatar}.png?size=1024`; console.log("Generating quote image"); 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"); await interaction.followUp({