Reduce to message.id

This commit is contained in:
Michael 2024-12-30 17:33:26 -06:00
parent 5d71e07e29
commit 41df6d1c09

View file

@ -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;
}
}