chore: remove redundant param addition inside Question.send

This commit is contained in:
Laurynas Karvelis 2018-12-24 13:57:39 +02:00
parent 68eb5e5483
commit 45a7251917

View File

@ -44,9 +44,8 @@ export default class Question extends Message {
*/
send(bot) {
const answers = this._answers;
const expectAnswer = true;
return super.send(bot, expectAnswer).then(message => {
return super.send(bot).then(message => {
let answer;
answers.forEach(function find(a) {