[Otfbot-svn] r106 - trunk/modules

cato- at BerliOS cato-
So Jun 10 21:16:35 CEST 2007


Author: cato-
Date: 2007-06-10 21:16:35 +0200 (Sun, 10 Jun 2007)
New Revision: 106

Added:
   trunk/modules/MODULES.documentation
Log:
* some documentation



Added: trunk/modules/MODULES.documentation
===================================================================
--- trunk/modules/MODULES.documentation	2007-06-10 18:59:12 UTC (rev 105)
+++ trunk/modules/MODULES.documentation	2007-06-10 19:16:35 UTC (rev 106)
@@ -0,0 +1,11 @@
+How to write a module
+
+* inherit from chatMod.py
+* write a method named "default_settings" which returnes a hash of the default
+  settings
+
+Ceveats:
+* self.network and self.nickname are available from connectionMade
+* the global variable "datadir" says where to store the data. If not 
+  using loadList or loadProperties you have to care yourself about 
+  creating it.




Mehr Informationen über die Mailingliste Otfbot-dev