more descriptive reason for link filter matches
This commit is contained in:
parent
f0b9ac3099
commit
eb8183caea
@ -395,7 +395,7 @@ module.exports = class AutoModeration extends Observer {
|
||||
this.client.rateLimiter.queueDelete(msg.channel, msg);
|
||||
//msg.delete();
|
||||
|
||||
this._moderate(action, guild, channel, member, msg.format('L_FILTER_ACTION'), filterResult, message);
|
||||
this._moderate(action, guild, channel, member, msg.format('L_FILTER_ACTION', { domain: filterResult.match }), filterResult, message);
|
||||
|
||||
} else this.client.rateLimiter.queueDelete(msg.channel, msg); //msg.delete();
|
||||
|
||||
|
@ -61,7 +61,7 @@ Invite filter violation.
|
||||
<@{user}> your message contained a unauthorised URL.
|
||||
|
||||
[L_FILTER_ACTION]
|
||||
Link filter violation.
|
||||
Link filter violation, matched domain: ||{domain}||.
|
||||
|
||||
// Logging
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user