A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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