ba0f3 / telebot.nim

Async Telegram Bot API Client implement in @Nim-Lang
MIT License
165 stars 24 forks source link

Multiple commands in single message are parsed as multiple commands #39

Closed Michal-Szczepaniak closed 5 years ago

Michal-Szczepaniak commented 5 years ago

If you write message like "/command1 /command2 /command3" all 3 commands will be executed as

/command1 with parameters /command2 /command3 /command2 with parameter /command3 /command3 without parameters

but correct behaviour should be only one top command.

ba0f3 commented 5 years ago

command entities are sent by tg server