A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

123456789101112
  1. # -*- coding: utf-8 -*-
  2. # A class to store data from an individual line received on IRC.
  3. class Data:
  4. def __init__(self):
  5. """store data from an individual line received on IRC"""
  6. self.chan = None
  7. self.nick = None
  8. self.ident = None
  9. self.host = None
  10. self.msg = None