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.

18 lines
335 B

  1. # -*- coding: utf-8 -*-
  2. import time
  3. from classes import BaseTask
  4. class Task(BaseTask):
  5. """A task to generate statistics for [[WP:AFC]] and save them to
  6. [[Template:AFC_statistics]]."""
  7. name = "afc_statistics"
  8. def __init__(self):
  9. pass
  10. def run(self, **kwargs):
  11. time.sleep(5)
  12. print kwargs