diff --git a/bot.js b/bot.js index 661e546..84a3bbd 100644 --- a/bot.js +++ b/bot.js @@ -40,7 +40,9 @@ client.on('message', msg => { let embed = new Discord.RichEmbed() .setAuthor(msg.author.username, msg.author.avatarURL) .setTitle("Open in Place 2.0") - .setDescription(`[Click here](${link}) to open the coordinates (**${x}**, **${y}**) in Place 2.0.`); + .setURL(link) + .setDescription(`Open the coordinates (**${x}**, **${y}**) in Place 2.0.`) + .setTimestamp(new Date()); getCanvasImage(x, y).then(image => { embed.setThumbnail("attachment://pixels.png"); msg.channel.send({embed: embed, file: { attachment: image, name: "pixels.png" }});