This commit is contained in:
Erik 2022-06-28 21:23:54 +03:00
parent 928fe8824f
commit c981af74c1
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -542,7 +542,7 @@ module.exports = class AutoModeration extends Observer {
} }
const valid = await resolver.validateDomain(domain); const valid = await resolver.validateDomain(domain);
if (!valid) { if (!valid) {
this.client.emit('linkFilterWarn', { message: guild.format('LINKFILTER_WARN', { domain }) }); this.client.emit('linkFilterWarn', { message: wrapper.format('LINKFILTER_WARN', { domain }) });
continue; continue;
} }