Skip to content

Listing users in a channel #208

@j2wick

Description

@j2wick

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions