let image = await axios.get(fetchCache[handle[0]].ipfs, {responseType: 'arraybuffer'})
image = Buffer.from(image.data, 'base64');
const attachment = new AttachmentBuilder(image, `${handle[0]}.png`);
let embed = new EmbedBuilder()
.setFooter({text: `Handle Resolver 📘`})
.setDescription(`Found Address for ${handle}!`+
` Last Updated: <t:${fetchCache[handle[0]].time}:R>`+
`\n\n\`${fetchCache[handle[0]].address}\`\n\n`+
`|| sending another message for our mobile friends if they want to copy ||`)
.setColor(`Green`)
.setImage(`attachment://${attachment.name}`)
interaction.editReply({embeds: [embed], components:[row], files: [attachment]});
let image = await axios.get(fetchCache[handle[0]].ipfs, {responseType: 'arraybuffer'})
image = Buffer.from(image.data, 'base64');
const attachment = new AttachmentBuilder(image, `${handle[0]}.png`);
let embed = new EmbedBuilder()
.setFooter({text: `Handle Resolver 📘`})
.setDescription(`Found Address for ${handle}!`+
` Last Updated: <t:${fetchCache[handle[0]].time}:R>`+
`\n\n\`${fetchCache[handle[0]].address}\`\n\n`+
`|| sending another message for our mobile friends if they want to copy ||`)
.setColor(`Green`)
.setImage(`attachment://${attachment.name}`)
interaction.editReply({embeds: [embed], components:[row], files: [attachment]});