skybot icon indicating copy to clipboard operation
skybot copied to clipboard

Listing users in a channel

Open j2wick opened this issue 6 years ago • 0 comments

I was interested to get a list of users in a channel because I'd like to highlight certain individuals, but I want to actually check if they're in the channel so I could include the logic to highlight the person only when they're connected

I was trying to use the NAMES command in irc followed by the channel but I dont think that actually returns any output that I could store in a variable for my purposes..

e.g connection.cmd('NAMES', ['#channel'])

What could I do instead to fetch a user list from a channel?

j2wick avatar Jan 13 '19 23:01 j2wick