From 4d0fec19d570c64150100818bfb94e1d0a9cef38 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 22 Sep 2024 12:18:04 -0400 Subject: [PATCH] Fix gif embed --- functions.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/functions.js b/functions.js index 9b521b2..f812b7b 100644 --- a/functions.js +++ b/functions.js @@ -251,11 +251,7 @@ const functions = { ], ephemeral: true }; }, gif(commandData) { - return { embeds: [new Discord.MessageEmbed() - .setAuthor({name: `${commandData.args}.${commandData.command}`}) - .setImage(commandData.embed_url) - .setTimestamp() - .setFooter({text: commandData.author})]}; + return commandData.embed_url; }, pasta(commandData) { return commandData.content;