private group cannot response the hubot command, how can I set the environment
export ROCKETCHAT_ROOM='' export LISTEN_ON_ALL_PUBLIC=true
I get the help information on https://github.com/RocketChat/hubot-rocketchat the LISTEN_ON_ALL_PUBLIC can work on private groups, as below picture

when I execute bin/hubot -a rocketchat,
all the public channels can get the hubot response(eg. hubot time) , but the private group can't response, do you know why? Or is there something else to be set?
Did you invite the hubot user to the private channel?
@zb471914758
That environment variable might be a bit misleading. Pretty much it lets it respond to any messages for rooms its in. If you mention the bot in a public room he is added to the room, then able to respond. This isn't the case for private groups.
So for private groups you have to explicitly add the bot.
IMPORTANT NOTE: This option also allows the bot to listen and respond to messages from all newly created private groups that _the bot's user has been added as a member._
yes, it's ok, that is the reason. Thanks