mirror of
https://git.arson.gg/lilith/discord-bot.git
synced 2025-12-05 03:34:49 +01:00
better quote
This commit is contained in:
parent
0a07c4e56b
commit
61d800048c
2 changed files with 2 additions and 2 deletions
|
|
@ -22,10 +22,8 @@ module.exports = {
|
|||
const msg = interaction.targetMessage;
|
||||
const user = msg.author;
|
||||
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.displayName, msg.content, true, interaction.client.users.cache);
|
||||
console.log("Sending quote image");
|
||||
|
||||
await interaction.followUp({
|
||||
files: [{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue