chore: remove redundant param addition inside Question.send
This commit is contained in:
parent
68eb5e5483
commit
45a7251917
@ -44,9 +44,8 @@ export default class Question extends Message {
|
|||||||
*/
|
*/
|
||||||
send(bot) {
|
send(bot) {
|
||||||
const answers = this._answers;
|
const answers = this._answers;
|
||||||
const expectAnswer = true;
|
|
||||||
|
|
||||||
return super.send(bot, expectAnswer).then(message => {
|
return super.send(bot).then(message => {
|
||||||
let answer;
|
let answer;
|
||||||
|
|
||||||
answers.forEach(function find(a) {
|
answers.forEach(function find(a) {
|
||||||
|
Loading…
Reference in New Issue
Block a user