Closed richieri closed 6 years ago
For some reason, createMatch function is not recognizing res object. Some kind of context problem I guess.
When I put the bot in a group, it is not answering and I got an error saying that res is not defined in createMatch function.
I suggest to change the function so it can receive the text and the "match" which we are looking for, in this case the name or alias of the bot.
This closes #42
This PR is the same as the #36
For some reason, createMatch function is not recognizing res object. Some kind of context problem I guess.
When I put the bot in a group, it is not answering and I got an error saying that res is not defined in createMatch function.
I suggest to change the function so it can receive the text and the "match" which we are looking for, in this case the name or alias of the bot.
This closes #42