mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 15:00:00 +00:00
Debug2
This commit is contained in:
parent
77ed889adc
commit
a7507fa4ef
1 changed files with 2 additions and 2 deletions
|
@ -241,8 +241,8 @@ export class CensorPlugin extends ZeppelinPlugin<TConfigSchema> {
|
||||||
const blockedRegex: RegExp[] = config.blocked_regex || [];
|
const blockedRegex: RegExp[] = config.blocked_regex || [];
|
||||||
for (const [i, regex] of blockedRegex.entries()) {
|
for (const [i, regex] of blockedRegex.entries()) {
|
||||||
if (typeof regex.test !== "function") {
|
if (typeof regex.test !== "function") {
|
||||||
logger.debug(
|
logger.info(
|
||||||
`Regex <${regex}> was not a regex; index ${i} of censor.blocked_regex for guild ${this.guild.name} (${
|
`[DEBUG] Regex <${regex}> was not a regex; index ${i} of censor.blocked_regex for guild ${this.guild.name} (${
|
||||||
this.guild.id
|
this.guild.id
|
||||||
})`,
|
})`,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue