Fix gif embed
Some checks are pending
NodBot Production Dockerization / build (push) Waiting to run

This commit is contained in:
Skylar Grant 2024-09-22 12:18:04 -04:00
parent 21ef9012ac
commit 4d0fec19d5

View File

@ -251,11 +251,7 @@ const functions = {
], ephemeral: true }; ], ephemeral: true };
}, },
gif(commandData) { gif(commandData) {
return { embeds: [new Discord.MessageEmbed() return commandData.embed_url;
.setAuthor({name: `${commandData.args}.${commandData.command}`})
.setImage(commandData.embed_url)
.setTimestamp()
.setFooter({text: commandData.author})]};
}, },
pasta(commandData) { pasta(commandData) {
return commandData.content; return commandData.content;