Add differentiator between saved and searched gifs

This commit is contained in:
= 2021-07-18 21:13:41 -04:00
parent c3dea5ffa0
commit 1113541fdb

View File

@ -19,7 +19,7 @@ module.exports = {
'name': file.name, 'name': file.name,
'embed_url': res[0].media[0].gif.url 'embed_url': res[0].media[0].gif.url
}; };
message.channel.send(functions.createGifEmbed(gifInfo, message.author, `${file.name}.${file.extension}`)); message.channel.send(functions.createGifEmbed(gifInfo, message.author, `${file.name}.${file.extension} - Tenor`));
}) })
.catch(err => console.error(err)); .catch(err => console.error(err));
} else { } else {
@ -28,7 +28,7 @@ module.exports = {
'name': file.name, 'name': file.name,
'embed_url': client.gifs.get(file.name).embed_url 'embed_url': client.gifs.get(file.name).embed_url
}; };
message.channel.send(functions.createGifEmbed(gifInfo, message.author, `${file.name}.${file.extension}`)); message.channel.send(functions.createGifEmbed(gifInfo, message.author, `${file.name}.${file.extension} - Saved`));
} }
} }
} }