-
Notifications
You must be signed in to change notification settings - Fork 0
Spacexplosion/PlaneshiftBot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Requirements: python (2.5+ required, 2.7 recommended*, 3.0+ not tested) python-irclib (8.0.1 | 8.5.3) * 2.7 for this fix: http://bugs.python.org/issue8117 Install: Copy sample_config.py to what will be the bot's working directory and rename to config.py . Edit config.py to customize your bot. Starting the bot: If the working directory is different from the script's use the -c option to specify the path. Use -d to daemonize. Writing modules: Just write a child class of modules.IRCModule and give it event handler methods named "on_EVENT" where EVENT is any of the events generated by python-irclib. They are enumerated in irclib.py. Name your class "IRCModule" or make a module member referencing your module class. (e.g. IRCModule = MyModuleClass) Put the file in the modules directory and add the file's module name (the file name minus ".py") to the MODULES list in config.py .
About
IRC bot based on python-irclib, focusing on extensibility and modularity
Resources
Stars
Watchers
Forks
Packages 0
No packages published