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

Command in chat group with other bot doesn't work #3

Closed
MBoretto opened this issue Jul 3, 2015 · 3 comments
Closed

Command in chat group with other bot doesn't work #3

MBoretto opened this issue Jul 3, 2015 · 3 comments

Comments

@MBoretto
Copy link
Collaborator

MBoretto commented Jul 3, 2015

Hello! I've notice that in chat with other bots the command are send like:
/echo@bot1
/weather@bot2
and so on..
So this bot is able to recognise /echo but not /echo@mybot

I would like to contribute developing this feature

@akalongman
Copy link
Member

This described in official docs?

@MBoretto
Copy link
Collaborator Author

MBoretto commented Jul 3, 2015

This is described in https://core.telegram.org/bots at the command section:
"If multiple bots are in a group, it is possible to add bot usernames to commands in order to avoid confusion:

/start@TriviaBot
/start@ApocalypseBot

This is done automatically when commands are selected via the list of suggestions. Please remember that your bot needs to be able to process commands that are followed by its username."

@MBoretto
Copy link
Collaborator Author

MBoretto commented Jul 3, 2015

Hello! I developed this feature! In the next day after some tests i would like to pull my work in you repository. I've seen that you are preparing a relase named fixes maybe it can be added if you agree at the way i've implement it!

noplanman pushed a commit that referenced this issue Feb 26, 2016
Use the new emptyResponse() method
MBoretto pushed a commit that referenced this issue May 23, 2016
MBoretto pushed a commit that referenced this issue Nov 24, 2016
introduce md tryMention

Thanks @MBoretto !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants