From 22ac7bee2ea95827344556bc5a27b093a6a234f8 Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Thu, 13 May 2021 09:12:42 +1000 Subject: [PATCH] include link to message in messageUpdate logs --- src/events/messageUpdate.js | 2 +- version.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/messageUpdate.js b/src/events/messageUpdate.js index bd33ef9..c7623e1 100644 --- a/src/events/messageUpdate.js +++ b/src/events/messageUpdate.js @@ -30,7 +30,7 @@ module.exports = (client, omsg, nmsg) => { return; } - embed.setDescription(`• Author: ${nmsg.member} (${nmsg.member.user.id})\n• Channel: ${nmsg.channel}\n• Old message: ${omsg.content}\n• New message: ${nmsg.content}`) + embed.setDescription(`[Jump to message](https://discord.com/channels/${nmsg.guild.id}/${nmsg.channel.id}/${nmsg.id})\n• Author: ${nmsg.member} (${nmsg.member.user.id})\n• Channel: ${nmsg.channel}\n• Old message: ${omsg.content}\n• New message: ${nmsg.content}`) try { channel.send({ embed }); } catch (err) { diff --git a/version.json b/version.json index d36c406..10a1e59 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "number": "1.4.5", + "number": "1.4.6", "changelog": "**1.4 Changelog**\n> • Splatoon commands have been added! check current and upcoming maps and modes with `~splatoonmaps`, current and upcoming salmon run maps, weapons and reward gear with `~salmonrun` and see what gear is on offer in the splatnet shop with `~splatnet`!\n**Notes:**\n> • Music is still broken and likely will be until v2 is released. Fixing v1 would delay v2 a lot, sorry >.<" } \ No newline at end of file