use displayname
This commit is contained in:
parent
8e9f503ff4
commit
4677a830c5
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue