Then I sent to my bot this : /search bro-yo +3 and after that I gave count argument as undefined.
I think the problem is your regexp. because when I sent to my bot /search bro +3, everything was OK.
I've built a bot, and I use a command with a optional arguments. like below
``` javascript
bot.command('search <name> [+count]', message => {
console.log(message.argv);
});
```
Then I sent to my bot this : `/search bro-yo +3` and after that I gave count argument as undefined.
I think the problem is your regexp. because when I sent to my bot `/search bro +3`, everything was OK.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I've built a bot, and I use a command with a optional arguments. like below
Then I sent to my bot this :
/search bro-yo +3and after that I gave count argument as undefined.I think the problem is your regexp. because when I sent to my bot
/search bro +3, everything was OK.