def irc_RPL_ENDOFWHO(self, *nargs):
    """Called when WHO output is complete"""
print('WHO COMPLETE')

def irc_unknown(self, prefix, command, params):
    """Print all unhandled replies, for debugging."""
print('UNKNOWN:', prefix, command, params)
Как использовать Twisted для получения списка пользователей IRC-канала