A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

data.py 318 B

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