From 41df6d1c090cbccffc15b85d186b420ae3cd8fd8 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 30 Dec 2024 17:33:26 -0600 Subject: [PATCH] Reduce to message.id --- commands/commit-count.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/commit-count.js b/commands/commit-count.js index 88ef35a..23a9542 100644 --- a/commands/commit-count.js +++ b/commands/commit-count.js @@ -133,11 +133,11 @@ module.exports = { /http.:\/\/.*\/(commit|compare|pull)\/.*/g.test(message.content) ) { dateVerified = true; - verifyReason = '[Commit URL](https://discord.com/channels/${message.guildId}/${message.channel.id}/${message.id})'; + verifyReason = `Commit URL - ${message.id}`; } else if ((message.attachments.size > 0)) { dateVerified = true; - verifyReason = '[Attachment](https://discord.com/channels/${message.guildId}/${message.channel.id}/${message.id})'; + verifyReason = `Attachment - ${message.id}`; } else if ((message.reactions.cache.size > 0)) { for (const reaction of message.reactions.cache.values()) { @@ -145,7 +145,7 @@ module.exports = { if (emojiName === emojiCheck) { dateVerified = true; - verifyReason = `[Reaction](https://discord.com/channels/${message.guildId}/${message.channel.id}/${message.id})`; + verifyReason = `Reaction - ${message.id}`; break; } }