Debugging

This commit is contained in:
Michael 2024-12-30 18:00:18 -06:00
parent 15e54756d6
commit ecfb0f4310

View file

@ -134,11 +134,11 @@ module.exports = {
/http.:\/\/.*\/(commit|compare|pull)\/.*/g.test(message.content) /http.:\/\/.*\/(commit|compare|pull)\/.*/g.test(message.content)
) { ) {
dateVerified = true; dateVerified = true;
verifyReason = `Commit URL - ${message.id}`; verifyReason = `Commit URL - ${message.id} - ${date}`;
} }
else if ((message.attachments.size > 0) && verifyReason != 'Commit URL') { else if ((message.attachments.size > 0) && verifyReason != 'Commit URL') {
dateVerified = true; dateVerified = true;
verifyReason = `Attachment - ${message.id}`; verifyReason = `Attachment - ${message.id} - ${date}`;
} }
else if ((message.reactions.cache.size > 0) && verifyReason != 'Commit URL' && verifyReason != 'Attachment') { else if ((message.reactions.cache.size > 0) && verifyReason != 'Commit URL' && verifyReason != 'Attachment') {
for (const reaction of message.reactions.cache.values()) { for (const reaction of message.reactions.cache.values()) {
@ -146,7 +146,7 @@ module.exports = {
if (emojiName === emojiCheck) { if (emojiName === emojiCheck) {
dateVerified = true; dateVerified = true;
verifyReason = `Reaction - ${message.id}`; verifyReason = `Reaction - ${message.id} - ${date}`;
break; break;
} }
} }