From 3fe81ebdcb4fed82e9f592ad3a35d189fa6d8a12 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 23 Aug 2003 05:55:20 +0000 Subject: [PATCH] Added docstring and configure function. --- plugins/Infobot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/Infobot.py b/plugins/Infobot.py index 3b115cefb..b6b7c531f 100755 --- a/plugins/Infobot.py +++ b/plugins/Infobot.py @@ -30,7 +30,7 @@ ### """ -Add the module docstring here. This will be used by the setup.py script. +A plugin that tries to emulate Infobot somewhat faithfully. """ from baseplugin import * @@ -47,6 +47,10 @@ import callbacks dbfilename = os.path.join(conf.dataDir, 'Infobot.db') +def configure(onStart, afterConnect, advanced): + from questions import expect, anything, something, yn + onStart.append('load Infobot') + def makeDb(filename): if os.path.exists(filename): return sqlite.connect(filename)