hq quote pfp

This commit is contained in:
Ashley Graves 2024-10-12 14:02:48 +02:00
parent eece64d527
commit 8e9f503ff4

View file

@ -21,7 +21,7 @@ module.exports = {
const msg = interaction.targetMessage; const msg = interaction.targetMessage;
const user = msg.author; const user = msg.author;
const avatar = `https://cdn.discordapp.com/avatars/${user.id}/${user.avatar}.png`; 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.username, msg.content, true, interaction.client.users.cache);
@ -37,4 +37,4 @@ module.exports = {
interaction.followUp(e.toString()); interaction.followUp(e.toString());
} }
}, },
}; };