You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you add your bot to some group and use setMyCommands to create menu then Telegram add bot name to each command name (e.g. command@botName). This case handlers for your commands don't work and you should write something like this
It make sense if bot.command('start', ctx => ...) will handle both start and 'start@myBot' variants and add to ctx bot_name or something like this for command part after the @
The text was updated successfully, but these errors were encountered:
If you add your bot to some group and use
setMyCommands
to create menu then Telegram add bot name to each command name (e.g.command@botName
). This case handlers for your commands don't work and you should write something like thisIt make sense if
bot.command('start', ctx => ...)
will handle bothstart
and 'start@myBot' variants and add to ctxbot_name
or something like this for command part after the@
The text was updated successfully, but these errors were encountered: