hq quote pfp
This commit is contained in:
parent
eece64d527
commit
8e9f503ff4
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue