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 vuotta sitten
..
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 vuotta sitten
__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 vuotta sitten
base_command.py commands now support multiple hooks 13 vuotta sitten
command_handler.py more nitpicking 13 vuotta sitten
connection.py sleep before joining and add a mode() function to Connection: thanks DeltaQuad 13 vuotta sitten
data.py improvements to .tasks listall and .tasks start; adding parse_kwargs() to Data 13 vuotta sitten
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 vuotta sitten
rc.py hehe, I knew that 13 vuotta sitten
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 vuotta sitten