lukefx / hubot-telegram

Hubot adapter for Telegram
MIT License
160 stars 42 forks source link

Remove bot name when using /command@bot_name #51

Open arcturial opened 8 years ago

arcturial commented 8 years ago

When using /command@bot_name in a chat (for when multiple bots are present, the bot name needs to be removed so Hubot can recognize the command.

[Mon Jun 13 2016 10:19:30 GMT+0200 (SAST)] DEBUG Executing listener callback for Message '/help@bot_name'

^ This won't recognize the correct command, only the / is currently being stripped

Max13 commented 6 years ago

Actually, it seems to be a Telegram implementation, not related to hubot-telegram. That's maybe why you don't get any answer.