fixed string testing
diff --git a/src/events/messageCreate.ts b/src/events/messageCreate.ts
index cc69bf0..6c26d2a 100644
--- a/src/events/messageCreate.ts
+++ b/src/events/messageCreate.ts
@@ -268,7 +268,7 @@
const check = TestString(
content,
config.filters.wordFilter.words.loose,
- config.filters.wordFilter.words.strict
+ config.filters.wordFilter.words.strict,
);
if (check !== null) {
messageException(message.guild.id, message.channel.id, message.id);
diff --git a/src/reflex/scanners.ts b/src/reflex/scanners.ts
index 0ae285a..d6ecba9 100644
--- a/src/reflex/scanners.ts
+++ b/src/reflex/scanners.ts
@@ -179,7 +179,7 @@
string: string,
soft: string[],
strict: string[],
- enabled?: boolean
+ enabled: boolean = true
): { word: string; type: string } | null {
if (!enabled) return null;
for (const word of strict) {