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 };
},
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;