This commit is contained in:
Dragon Fire
2020-04-11 11:37:24 -04:00
parent 29864e0c37
commit 82a7f23436
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = class SuicideHotlineCommand extends Command {
generateText(fromPattern) {
const text = 'Call 1-800-273-8255 for the National Suicide Prevention Lifeline.';
if (!fromPattern) text;
if (!fromPattern) return text;
return `Don't say that. Get help. ${text}`;
}
};