ekonda / kutana

The library for developing systems for messengers and social networks
MIT License
72 stars 17 forks source link

Use bot mention (example: "@bot_name") as default prefix #59

Closed DiSonDS closed 3 years ago

DiSonDS commented 3 years ago

Now when bot only has access to messages with mentions (example: "@bot_name") it's also necessary to use prefix. In this case to execute command user should write something like:

VK Docs

Expected Behavior

"@bot_name echo" should work "@bot_name, echo" should work too (mobile clients add a comma by default)

Actual Behavior

"@bot_name echo" and "@bot_name, echo" don't works (only "@bot_name / echo" or "@bot_name /echo")

Possible Solution

Context

Users try to execute the bot command with a mention, but they do not expect that you also need to specify the prefix