Skip to content

Commit

Permalink
Add taken date to image footer
Browse files Browse the repository at this point in the history
  • Loading branch information
tadhgboyle authored Oct 18, 2021
1 parent f4fc9ad commit fef4010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/commands/get-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {

const image = await getImage(id);

const embed = new MessageEmbed().setImage(image.source_medium).setFooter(`ID: ${image.id}`);
const embed = new MessageEmbed().setImage(image.source_medium).setFooter(`ID: ${image.id}\nTaken at: ${image.taken_at.split('T')[0]}`);

await interaction.reply({ embeds: [ embed ]});
}
Expand Down

0 comments on commit fef4010

Please sign in to comment.