feat: customizable message for required params #36

Merged
amovah merged 4 commits from master into master 2017-09-12 16:04:27 +00:00
Showing only changes of commit 5754b24912 - Show all commits

View File

@ -220,7 +220,7 @@ export default class Bot extends EventEmitter {
ga = new Message().to(msg.chat.id).text(customMessage[param]);
} else {
ga = new Message().to(msg.chat.id)
.text(`Enter value for ${param}`);
.text(`Enter value for ${param}`);
}
yield bot.send(ga).then(answer => {
args[param] = answer.text;