A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Ben Kurtovic 7f4d5a3320 derp 13 år sedan
..
commands derp 13 år sedan
__init__.py massive cleanup and moving a lot of functions to their own files; creating two new classes to store irc msg data and irc actions 13 år sedan
base_command.py commands now support multiple hooks 13 år sedan
command_handler.py hopefully catch command exceptions properly this time 13 år sedan
connection.py creating backbone for wiki-editing tasks: they can be spawned on a cron-like schedule with config/schedule.py, in response to certain edits in config/watcher.py, or through IRC (not implemented yet - I'll need to figure out permissions); task files are in wiki/tasks/, and the wiki-editing tools (think very simplified pywikipedia) will be in wiki/tools/ 13 år sedan
data.py store the entire line in data as data.line; better explanation for irc_config.AFC_CHANS 13 år sedan
frontend.py creating backbone for wiki-editing tasks: they can be spawned on a cron-like schedule with config/schedule.py, in response to certain edits in config/watcher.py, or through IRC (not implemented yet - I'll need to figure out permissions); task files are in wiki/tasks/, and the wiki-editing tools (think very simplified pywikipedia) will be in wiki/tools/ 13 år sedan
rc.py git is slightly more verbose now; comment fix for RC 13 år sedan
watcher.py creating backbone for wiki-editing tasks: they can be spawned on a cron-like schedule with config/schedule.py, in response to certain edits in config/watcher.py, or through IRC (not implemented yet - I'll need to figure out permissions); task files are in wiki/tasks/, and the wiki-editing tools (think very simplified pywikipedia) will be in wiki/tools/ 13 år sedan