mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +02:00
Fix lint
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user