Reduce to message.id
This commit is contained in:
parent
5d71e07e29
commit
41df6d1c09
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue