Add message.id
This commit is contained in:
parent
a153cf39e4
commit
15e54756d6
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue