Search code examples
pythonbotsirc

Python IRC bot: Return nicks in channel


I'm trying to have my bot call /NAMES of a certain channel when a command is called, and return a list of everyone voiced. Some help would be much appreciated


Solution

  • Where is your code? I did this a while ago but since I am not sure about your implementation of the bot I can't help more.

    You can send the string "/names #channelname" and the next line you receive will include it. .