Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot does not recognize command of form /command@usernamebot #102

Closed
iamcosmin opened this issue Jun 12, 2023 · 3 comments · Fixed by #103
Closed

Bot does not recognize command of form /command@usernamebot #102

iamcosmin opened this issue Jun 12, 2023 · 3 comments · Fixed by #103
Assignees
Labels
bug Something isn't working

Comments

@iamcosmin
Copy link
Contributor

Currently, creating a command handler (bot.command) recognizes commands like /start, but not /start@usernamebot. In supergroups, when there are multiple bots, if you click on a command provided by the bot, the Telegram client will automatically send a message with the command, followed by the bot username (like shown above).

@HeySreelal
Copy link
Owner

Hey, thanks for raising this. Yeah, this is indeed a bug. Surely fix that shortly.

Thanks again :)

@HeySreelal HeySreelal added the bug Something isn't working label Jun 12, 2023
@HeySreelal HeySreelal self-assigned this Jun 12, 2023
@iamcosmin
Copy link
Contributor Author

Thank you so much.
Also, a nitpick in Readme, in the Thank you section
Televerse is a powerful and easy-to-use library for building Telegram bots in TypeScript.
Should be Dart instead of TypeScript

@HeySreelal
Copy link
Owner

Thank you so much. Also, a nitpick in Readme, in the Thank you section Televerse is a powerful and easy-to-use library for building Telegram bots in TypeScript. Should be Dart instead of TypeScript

Yeah yeah, I'm aware of that. Already fixed that on c9dd6fc. Of course, some GPT things 😬

Once again, thank you so much for reporting and this is all good on v1.9.9 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants