From 15e54756d638f36a0bff0a9de2dc7a245ac3965c Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 30 Dec 2024 17:58:20 -0600 Subject: [PATCH] Add 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 bc06eb5..84a3fa8 100644 --- a/commands/commit-count.js +++ b/commands/commit-count.js @@ -134,11 +134,11 @@ module.exports = { /http.:\/\/.*\/(commit|compare|pull)\/.*/g.test(message.content) ) { dateVerified = true; - verifyReason = 'Commit URL'; + verifyReason = `Commit URL - ${message.id}`; } else if ((message.attachments.size > 0) && verifyReason != 'Commit URL') { dateVerified = true; - verifyReason = 'Attachment'; + verifyReason = `Attachment - ${message.id}`; } else if ((message.reactions.cache.size > 0) && verifyReason != 'Commit URL' && verifyReason != 'Attachment') { for (const reaction of message.reactions.cache.values()) { @@ -146,7 +146,7 @@ module.exports = { if (emojiName === emojiCheck) { dateVerified = true; - verifyReason = 'Reaction'; + verifyReason = `Reaction - ${message.id}`; break; } }