lukefx / hubot-telegram

Hubot adapter for Telegram
MIT License
160 stars 42 forks source link

group chat response #27

Closed Gooogole closed 8 years ago

Gooogole commented 8 years ago

input /help in the chat with my bot, it working well. when input /help in the group with my bot i can see the log:INFO Receiving message_id: 91 but it doesn't sending message to room: xxxxxxx, where is wrong?

Gooogole commented 8 years ago

from your code i found the result;

If it is a private chat, automatically prepend the bot name if it does not exist already.

so in the group must add botname。

psamim commented 8 years ago

@Gooogole I have the same problem, what did you do? How do you mention your bot? What is the alias? Thanks

arcturial commented 8 years ago

In a group chat, the bot should respond to messages like these:

If private mode has been disabled, it will react to all messages.

What message are you sending and are you using the chat with private mode disabled?

unlucio commented 8 years ago

Sorry guys I'm having the same issue: invited to a group the bot shows up fine and I can see the INFO Receiving message_id: ## logs for every mention/command but the bot never outputs anything to the group. It works fine in DM tho.

setjoingroups is enable and I tried with setprivacy both enabled and disabled but nothing changes.

Any suggestion?

arcturial commented 8 years ago

If you run the bot in debug mode, it will output the exact message it receives. Can you paste that message here please?

unlucio commented 8 years ago

I found the problem: it doesn't like names containing _ (underscore) characters :/

arcturial commented 8 years ago

Interesting, can you please log a new bug report with this problem. Will try and address it as soon as possible.