Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checking out the code at the official documentation?
Node.js example code: Check for and strip @bot mention
If it doesn’t work for you, don’t worry. I have found the cause.
You just have to declare var botId = "YOUR BOT ID";
Session.message instead of message.text in the documentation. Good luck.