From e5e8e7b3e389f59f4ee7415d1c662141e9fff101 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 27 Mar 2008 22:38:13 +0100 Subject: plugins: expose the registry and the map handler as methods for the BotModule class --- lib/rbot/plugins.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rbot/plugins.rb') diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 9d633c1b..5280a117 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -130,6 +130,8 @@ module Plugins class BotModule attr_reader :bot # the associated bot + attr_reader :registry # the plugin registry + attr_reader :handler # the message map handler # Initialise your bot module. Always call super if you override this method, # as important variables are set up for you: -- cgit v1.2.3