3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00
This commit is contained in:
Dragory 2019-08-04 19:20:46 +03:00
parent 77ed889adc
commit a7507fa4ef

View file

@ -241,8 +241,8 @@ export class CensorPlugin extends ZeppelinPlugin<TConfigSchema> {
const blockedRegex: RegExp[] = config.blocked_regex || [];
for (const [i, regex] of blockedRegex.entries()) {
if (typeof regex.test !== "function") {
logger.debug(
`Regex <${regex}> was not a regex; index ${i} of censor.blocked_regex for guild ${this.guild.name} (${
logger.info(
`[DEBUG] Regex <${regex}> was not a regex; index ${i} of censor.blocked_regex for guild ${this.guild.name} (${
this.guild.id
})`,
);