martynsmith / node-irc

NodeJS IRC client library
GNU General Public License v3.0
1.33k stars 424 forks source link

Need help sending command #539

Open BamaJoe411 opened 5 years ago

BamaJoe411 commented 5 years ago

I want to send a command that returns the list of clients in a channel. I have tried and tried but I can not find any help for this.

Morgas01 commented 5 years ago

you can either wait for the "names" event or use Object.keys(client.chans[lowerCaseChannelName].users), but that is just a guess