This commit is contained in:
Daniel Odendahl Jr
2017-11-09 00:02:59 +00:00
parent 819db49057
commit b6afded306
125 changed files with 743 additions and 289 deletions
+1 -5
View File
@@ -12,11 +12,7 @@ module.exports = class SayCommand extends Command {
{
key: 'text',
prompt: 'What text would you like XiaoBot to say?',
type: 'string',
validate: text => {
if (!text.includes('@everyone') && !text.includes('@here')) return true;
return 'Invalid text, please do not say everyone or here mentions.';
}
type: 'string'
}
]
});