hubot-seen
hubot-seen copied to clipboard
In RocketChat seen keeps track of DMs and private rooms
Can this be set to only look at public channels, or only respond with channels if the person asking is also in that channel?
Hm, it should be doing that already, at least for PMs. See https://github.com/hubot-scripts/hubot-seen/blob/1f94663f2d5c2947d89a3ffc84111968e6757722/src/seen.coffee#L20
Without actually looking my guess is that the RocketChat adapter doesn't support the message.user.pm
property, which we need to detect PMs. As for private rooms honestly I have no idea what the story is there. We'd need the adapter to give us some flag that indicated the room was private. It's possible that already exists; I haven't looked. If I get some time I will but no promises! If you find something though I don't see why we couldn't add support for it to hubot-seen.