Should only accept commands if the message starts with them

This commit is contained in:
Mahdi Dibaiee
2015-07-04 23:57:00 +04:30
parent bfa2313f3a
commit 5fd35f89c1
3 changed files with 6 additions and 2 deletions

View File

@ -203,6 +203,7 @@ var Bot = (function (_EventEmitter) {
if (!ev) {
return;
}
ev.listener(res.message);
});
}