diff --git a/src/modules/processMessage.ts b/src/modules/processMessage.ts index e5ce51e..456826f 100644 --- a/src/modules/processMessage.ts +++ b/src/modules/processMessage.ts @@ -37,7 +37,7 @@ export const processMessage = async(message: Message): Promise => { const responses = matches.map((match) => { return `- You used the word \`${match.actual ?? "unknown word"}\`. This may not be inclusive language, because: ${match.reason.length > 0 ? match.reason - : "I said so."}${match.note === null || match.note === "" || match.note === "undefined" + : "I said so."}${[ null, "", undefined, "undefined", "null" ].includes(match.note) ? "" : ` -- ${match.note}`}`; });