キャンプファイヤー チャットルームで実行している hubot (https://github.com/github/hubot) を持っています。
チャットルームにログインしているすべてのユーザーを表示するスクリプトを作成しようとしています。
デフォルトのhubot show users
コマンドは、ログインしているすべてのユーザーを見つけられないようです。
動かない疑似コード
module.exports = (robot) ->
robot.respond /users$/i, (msg) ->
for user in robot.room.users
msg.respond user.name + "is logged in"