문제

I want a list of all of the people in the current channel.

How can I get this with hubot?

도움이 되었습니까?

해결책

At least you can try channellist_item in IRC API, it states

Emitted for each channel the server returns. The channel_info object contains keys ‘name’, ‘users’ (number of users on the channel), and ‘topic’.

다른 팁

No - it seems that it's not possible. The best hubot can do is track as people enter and leave the channel, but there's no simple command to get all current people.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top