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.
Ben Kurtovic e21a4dfb76 converting four IRC command classes to use new config system; everything's been converted except for irc/watcher.py and everything in wiki/ пре 13 година
..
commands converting four IRC command classes to use new config system; everything's been converted except for irc/watcher.py and everything in wiki/ пре 13 година
__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 година
base_command.py commands now support multiple hooks пре 13 година
command_handler.py more nitpicking пре 13 година
connection.py sleep before joining and add a mode() function to Connection: thanks DeltaQuad пре 13 година
data.py improvements to .tasks listall and .tasks start; adding parse_kwargs() to Data пре 13 година
frontend.py store config differently (in five separate global variables instead of one) to make accessing it cleaner; convert core/main.py to new config system as well as irc/frontend.py -- both seem to be working пре 13 година
rc.py hehe, I knew that пре 13 година
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 година