generated from nhcarrigan/template
This commit is contained in:
@@ -37,7 +37,7 @@ export const processMessage = async(message: Message): Promise<void> => {
|
|||||||
const responses = matches.map((match) => {
|
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
|
return `- You used the word \`${match.actual ?? "unknown word"}\`. This may not be inclusive language, because: ${match.reason.length > 0
|
||||||
? match.reason
|
? match.reason
|
||||||
: "I said so."}${match.note === null
|
: "I said so."}${match.note === null || match.note === "" || match.note === "undefined"
|
||||||
? ""
|
? ""
|
||||||
: ` -- ${match.note}`}`;
|
: ` -- ${match.note}`}`;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user