From a6a89bd14ad89117db867ad36ed8d732680c68df Mon Sep 17 00:00:00 2001 From: TheShadowEevee Date: Sun, 29 Dec 2024 23:04:11 -0600 Subject: [PATCH] Allow pull requests to count as git commits --- commands/commit-count.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/commit-count.js b/commands/commit-count.js index c5b80b6..a715d5d 100644 --- a/commands/commit-count.js +++ b/commands/commit-count.js @@ -131,7 +131,7 @@ module.exports = { .fetch(messageId) .then(async (message) => { if ( - /http.:\/\/.*\/(commit|compare)\/.*/g.test(message.content) + /http.:\/\/.*\/(commit|compare|pull)\/.*/g.test(message.content) ) { dateVerified = true; verifyReason = 'Commit URL';